Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 34 lines 774 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, coverage 5, pytest 6}: 7 8buildPythonPackage rec { 9 pname = "pytest-testmon"; 10 version = "0.9.18"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "05648f9b22aeeda9d32e61b46fa78c9ff28f217d69005b3b19ffb75d5992187e"; 15 }; 16 17 buildInputs = [ pytest ]; 18 19 propagatedBuildInputs = [ coverage ]; 20 21 checkInputs = [ pytest ]; 22 23 checkPhase = '' 24 pytest --deselect=test/test_testmon.py::TestmonDeselect::test_dependent_testmodule 25 ''; 26 27 meta = with lib; { 28 homepage = "https://github.com/tarpas/pytest-testmon/"; 29 description = "This is a py.test plug-in which automatically selects and re-executes only tests affected by recent changes"; 30 license = licenses.mit; 31 maintainers = [ maintainers.dmvianna ]; 32 }; 33} 34