Skip to content

morgancurleykh/intro-to-unit-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro to unit testing :: Beta version

Unit testing is a development practice used to verify the functioning of a given codebase

This repo provides a ready to go testing environment

Pre requisites

  1. Signup for Dockerhub
  2. Download & Install Docker
  3. Link account to Komodo Hub via request to access from IT (optional)

Clone the repo

git clone https://github.com/morgancurleykh/intro-to-unit-testing.git

cd intro-to-unit-testing

Build the Docker Image

docker build -t intro-to-unit-testing ./

Start the test watcher

docker run --name iut -v $(pwd)/src:/src -t intro-to-unit-testing; docker stop iut; docker rm iut;

Connect to the Container to run commands

docker exec -it iut /bin/bash
docker exec -it iut /bin/bash; docker stop iut; docker rm iut;

Run a computation

python computations.py 200

Create a file with fake records for 200 doctors

python generators.py 200 -o test_data.csv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published