Skip to content

MuhammadAli-M/Christmas-Lights-Kata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Christmas Lights Kata (TDD Coding Kata)

A coding kata to practice TDD. Christmas Lights Kata. I used python.

Project Layout

  • app contains board.py
  • tests contains tests definitions

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'

About

Christmas-Lights-Kata Coding Kata

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published