All tags
testing
- Tip
xvfb-run -a your-program --some-flagxvfb-run -a runs a graphical program on a server with no screenGive a graphical program a virtual display on a headless machine.3 Dec 2026 - Tip
import pytestPytest.approx compares floats without the rounding surpriseWrap the expected number in pytest.approx so tiny float errors do not fail the test.2 Dec 2026 - Tip
pytest --maxfail=2pytest --maxfail=2 stops the run after two failuresStop a pytest run after a set number of failures instead of waiting for the whole suite.2 Dec 2026 - Tip
import pytestPytest's xfail marker records a known bug without breaking the runMark a failing test as xfail so it is reported but does not fail the suite.2 Dec 2026 - Post100x engineer skill review: strict process, a narrow proof and no published score1 Dec 2026
Nothing matches.