Skip to content

galonsky/failure_finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

failure_finder circle

narrows down failures in dependent test failures

Example usage

Say you have a failure in a certain test when run with a bunch of other tests: test123.py fails when run after these other tests: docker-compose run --rm tests pytest test456.py testfoo.py testbar.py test123.py

In order to narrow down the offending test, you can run:

./bin/find_failure.py "docker-compose run --rm tests pytest" test456.py testfoo.py testbar.py test123.py

This will divide and conquer the tests until it narrows down to two files, which it will print.

Note that the program assumes the last test in the list is the failing test you're targeting.

About

narrows down failures in dependent test failures

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages