Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run individual tests where code has changed #93

Open
samuelcolvin opened this issue Jul 29, 2020 · 3 comments
Open

run individual tests where code has changed #93

samuelcolvin opened this issue Jul 29, 2020 · 3 comments

Comments

@samuelcolvin
Copy link

pytest-picked looks great, but I often have 10s or even hundreds of tests in a single file.

It would be great therefore if this library could pick specific test rather than whole files.

I imagine this would be possible by introspecting git diff or similar.

@anapaulagomes
Copy link
Owner

I think this would be a great feature too! PRs are always welcome! :)

@sondrelg

This comment has been minimized.

@ksdaftari
Copy link

+1 this would simile awesome feature. Simile reason for use case, sometimes test file is large or tests can some time to run, so getting it down to run just the tests affected by diff would be great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants