Skip to content

AndreasPB/sd-sem1-testing

Repository files navigation

Testing mandatory

CI codecov pre-commit.ci status CodeFactor status

First time setup

Preqrequisites:

  • Git
$ git clone <clone method of choice>
$ pip install pre-commit
$ pre-commit install
$ git checkout -b <branch name>
$ git add .
$ git commit -m "<commit message>"
$ git push --force-with-lease origin <branch name>

How to build and run the tests

Preqrequisites:

  • Docker
$ docker build -t testing .
$ docker run -it testing pytest