Create Automatic Testing Scripts
User Story
- As a: developer,
- I want: automatic testing script
- so that: all testing can be done quickly and automatically.
Functional Requirements
-
1 single script to run all unit, integration, and system tests in the repo -
Find some unit test suit that also outputs code coverage - coverage.py
- to install
pip install coverage
- (EXAMPLE) to run
coverage run program.py arg1 arg2
-
Find some test suite for unit testing nodejs - Mocha
- to install
cd src/web
,npm install mocha
- to run
cd src/web
,npm test
Description
Automated testing is an important part of software development, especially on larger projects with many people working on it.
Having automated tests allow us to code and find hidden coupling that exists within the project and remove them.