Skip to content

Instantly share code, notes, and snippets.

@stj
Created May 10, 2018 17:45
Show Gist options
  • Save stj/b9f39f897c2bbefd9bdc471e7dfe1f87 to your computer and use it in GitHub Desktop.
Save stj/b9f39f897c2bbefd9bdc471e7dfe1f87 to your computer and use it in GitHub Desktop.
[pytest] Run each test seperate to find tests that break the isolated/independent principal
pytest --collect-only | grep Function | cut -d"'" -f 2 | cut -d"[" -f 1 | uniq | xargs -n 1 pytest -qq -k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment