/parallel-change

Parallel Change Coding Kata

Primary LanguagePython

parallel-change

Parallel Change Coding Kata. It aims to practice refactoring.

Project Layout

app directory src code tests directory for test files

Installation

Create virtual environment...

python3 -m venv .venv

...activate it:

source .venv/bin/activate

...and install requirements listed in requirements.txt file:

pip3 install -r requirements.txt

Run tests with pytest

  • run : python3 -m pytest tests/
  • run tests with coverage: python3 -m pytest --cov=app tests/
  • run tests for changed code using testmon: ptw --runner "pytest --picked --testmon"

Resources

run from docker

'./docker_test.sh'