Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-15 | tests: Migrate to pytester - incremental update (#8145) | Anton | |
2020-10-19 | Drop support for EOL Python 3.5 | Hugo van Kemenade | |
2020-10-05 | py36+: com2ann | Anthony Sottile | |
2020-10-03 | py36+: remove rexport of Path and PurePath | Anthony Sottile | |
2020-08-04 | Improve typing of reports' longrepr field | Ran Benita | |
2020-08-03 | testing: fix some docstring issues | Ran Benita | |
In preparation for enforcing some docstring lints. | |||
2020-06-05 | Enable check_untyped_defs mypy option for testing/ too | Ran Benita | |
2020-05-27 | Fix py35 CI run | Florian Dahlitz | |
2020-05-26 | Apply suggestions from @bluetech | Florian Dahlitz | |
2020-05-25 | Prevent pytest from printing ConftestImportFailure traceback | Florian Dahlitz | |
2020-04-04 | Fix tests: use explicit syspathinsert where tests might hang (#7008) | Daniel Hahler | |
Use `testdir.syspathinsert()` with multiprocessing tests: - test_chained_exceptions_no_reprcrash - test_exception_handling_no_traceback This only works currently because `_importtestmodule` changes `sys.path` as a side-effect. It appears to be only required on Windows though - likely due to the multiprocessing method used there. | |||
2020-01-16 | Use a dummy RemoteTraceback for test in Python 3.5 Windows | Bruno Oliveira | |
Somehow in Python 3.5 on Windows this test fails with: File "c:\hostedtoolcache\windows\python\3.5.4\x64\Lib\multiprocessing\connection.py", line 302, in _recv_bytes overlapped=True) OSError: [WinError 6] The handle is invalid This only happens in this platform and Python version, decided to use a dummy traceback as originally done in #6412. (cherry picked from commit b9c136b809a33009ad514672666c515953957b33) | |||
2020-01-07 | Use concurrent.futures for fidelity to the original report | Bruno Oliveira | |
As requested in review | |||
2020-01-06 | Fix serialization of 'None' reprcrashes | Bruno Oliveira | |
Tracebacks coming from remote processes crated by the multiprocess module will contain "RemoteTracebacks" which don't have a 'reprcrash' attribute Fix #5971 | |||
2019-10-30 | Introduce --report-log option | Bruno Oliveira | |
Fix #4488 | |||
2019-10-26 | Replace a few outdated references to py.test with pytest | Ran Benita | |
2019-08-29 | Serialize/deserialize chained exceptions | Bruno Oliveira | |
Fix #5786 | |||
2019-06-03 | pre-commit run pyupgrade --all-files | Anthony Sottile | |
2019-06-03 | pre-commit run fix-encoding-pragma --all-files | Anthony Sottile | |
2019-05-14 | Use fix-encoding-pragma pre-commit hook | Anthony Sottile | |
2019-03-28 | Rename hooks: to/from_serializable | Bruno Oliveira | |
2019-03-26 | Fix assertion in pytest_report_unserialize | Bruno Oliveira | |
2019-03-25 | Improve coverage for _report_unserialization_failure | Bruno Oliveira | |
2019-03-25 | Improve coverage for to_json() with paths in reports | Bruno Oliveira | |
2019-03-25 | Note that tests from xdist reference the correct xdist issues | Bruno Oliveira | |
2019-03-25 | Add pytest_report_serialize and pytest_report_unserialize hooks | Bruno Oliveira | |
These hooks will be used by pytest-xdist and pytest-subtests to serialize and customize reports. | |||
2019-03-25 | Add experimental _to_json and _from_json to TestReport and CollectReport | Bruno Oliveira | |
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. |