Unit testing is a development practice used to verify the functioning of a given codebase
This repo provides a ready to go testing environment
- Signup for Dockerhub
- Download & Install Docker
- Link account to Komodo Hub via request to access from IT (optional)
git clone https://github.com/morgancurleykh/intro-to-unit-testing.git
cd intro-to-unit-testing
docker build -t intro-to-unit-testing ./
docker run --name iut -v $(pwd)/src:/src -t intro-to-unit-testing; docker stop iut; docker rm iut;
docker exec -it iut /bin/bash
docker exec -it iut /bin/bash; docker stop iut; docker rm iut;
python computations.py 200
python generators.py 200 -o test_data.csv