-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --afterrun option instead of --oninterrupt:
* Name chosen for consistency with --beforerun * Pass the py.test exit code as a CLI parameter * Always run this hook, even on KeyboardInterrupt * Clarify that --onexit runs when pytest-watch exits * Clarify that --runner overrides the literal "py.test" command * Use subprocess.call instead of os.system in run_hook (and handle passing arguments)
- Loading branch information
Showing
2 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters