Skip to content

standardizing test execution #57

Description

@edublancas

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions