Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-23 | fix mock_timing fixture name (typo) in timing.py | Simon K | |
2020-08-01 | Format docstrings in a consistent style | Ran Benita | |
2020-05-23 | Introduce _pytest.timing as a way to control timing during tests | Bruno Oliveira | |
_pytest.timing is an indirection to 'time' functions, which pytest production code should use instead of 'time' directly. 'mock_timing' is a new fixture which then mocks those functions, allowing us to write time-reliable tests which run instantly and are not flaky. This was triggered by recent flaky junitxml tests on Windows related to timing issues. |