-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serialization hooks #4965
Merged
nicoddemus
merged 10 commits into
pytest-dev:features
from
nicoddemus:serialization-hooks
Mar 28, 2019
Merged
Serialization hooks #4965
nicoddemus
merged 10 commits into
pytest-dev:features
from
nicoddemus:serialization-hooks
Mar 28, 2019
Commits on Mar 25, 2019
-
Add experimental _to_json and _from_json to TestReport and CollectReport
This methods were moved from xdist (ca03269). Our intention is to keep this code closer to the core, given that it might break easily due to refactorings. Having it in the core might also allow to improve the code by moving some responsibility to the "code" objects (ReprEntry, etc) which are often found in the reports. Finally pytest-xdist and pytest-subtests can use those functions instead of coding it themselves.
Configuration menu - View commit details
-
Copy full SHA for 0c63f99 - Browse repository at this point
Copy the full SHA 0c63f99View commit details -
Add pytest_report_serialize and pytest_report_unserialize hooks
These hooks will be used by pytest-xdist and pytest-subtests to serialize and customize reports.
Configuration menu - View commit details
-
Copy full SHA for 7b9a414 - Browse repository at this point
Copy the full SHA 7b9a414View commit details -
Configuration menu - View commit details
-
Copy full SHA for d856f4e - Browse repository at this point
Copy the full SHA d856f4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2e0c74 - Browse repository at this point
Copy the full SHA f2e0c74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6457742 - Browse repository at this point
Copy the full SHA 6457742View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4eec34 - Browse repository at this point
Copy the full SHA e4eec34View commit details -
Configuration menu - View commit details
-
Copy full SHA for ceef0af - Browse repository at this point
Copy the full SHA ceef0afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d77018 - Browse repository at this point
Copy the full SHA 2d77018View commit details
Commits on Mar 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9311d82 - Browse repository at this point
Copy the full SHA 9311d82View commit details
Commits on Mar 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 65c8e8a - Browse repository at this point
Copy the full SHA 65c8e8aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.