Skip to content

Question: How to run tests outside of a docker container? #24

Closed
@omrihar

Description

@omrihar

Hi, thanks for the beautiful framework and cookiecutter project!

I'm setting up a project using this cookiecutter and I haven't managed to run the tests without the use of the script that generates the tests docker container. Is there a way to quickly run the tests without recreating a docker container?
I plan to use TDD in my development and if I have to wait a long time for the tests to run it will discourage me from following that practice...

I tried running the tests by executing docker-compose exec backend bash and then running the tests running bash tests-start.sh and also by simply running pytest, but for the former the tests don't manage to authenticate and for the latte I get a pytest not found error.

Any hints would be very welcome!

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