Skip to content

How do you run tests with an IDE?  #220

Open

Description

@nrbnlulu

seems like pycharm / vscode can't recognise them since they are not prefixed with test_

Activity

  1. erikwrede commented on Jul 2, 2024

    @erikwrede
    Member

    PyCharm works out of the box for me:
    image

    Make sure to have your venv setup in the project settings. Apart from that, you can always create your own pytest run config in pycharm or vscode. Is there any particular step your IDE seems to fail at?

  2. nrbnlulu commented on Jul 2, 2024

    @nrbnlulu
    ContributorAuthor

    Ok I forgot to install extras

    poetry install --with=test
  3. erikwrede commented on Jul 2, 2024

    @erikwrede
    Member

    This caught me off-guard a few times in this project as well 😆

  4. Cito commented on Jul 2, 2024

    @Cito
    Member

    Reopening this as a reminder to add a "development" section to the README (even though probably nobody reads READMEs)

  5. reopened this on Jul 2, 2024
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions