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

standardizing test execution #57

Open
edublancas opened this issue Apr 14, 2023 · 0 comments
Open

standardizing test execution #57

edublancas opened this issue Apr 14, 2023 · 0 comments

Comments

@edublancas
Copy link
Contributor

Contributors sometimes have issues running tests locally because they must pass special flags they're unaware of. For example, to run JupySQL's unit tests, you need to run the following:

pytest --durations-min=5 --ignore=src/tests/integration

However, many contributors attempt to run:

pytest

Which will fail since this will run all tests (including integration tests, which contributors often don't want to run)

I investigated a few options and concluded that our best bet is to ensure that this works on all projects:

pytest

And document other alternatives (e.g., how to run integration tests)

see: ploomber/jupysql#335

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

No branches or pull requests

1 participant