Skip to content

Commit

Permalink
Add ability to rerun test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamrick committed Jan 6, 2017
1 parent c9d8484 commit 827d59b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-requirements-windows.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
pytest
pytest-cov
pytest-rerunfailures
coverage
selenium
invoke
sphinx
codecov
cov-core
cov-core
1 change: 1 addition & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def _run_tests(ctx, mark=None, skip=None, junitxml=None):
cmd.extend(['--junitxml', junitxml])
cmd.append('-v')
cmd.append('-x')
cmd.extend(['--rerun', '1'])

marks = []
if mark is not None:
Expand Down

0 comments on commit 827d59b

Please sign in to comment.