Skip to content

JulieSchramm/simple_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple calculator python script with a unit test to test the implementation of the Travis CI unit testing.

To run the unit tests, where <root> is the top level directory:

cd <root>/tests
python  test_simple_calculator.py

For more verbose output:

python  test_simple_calculator.py -v

If you have coverage installed, to get test coverage:

coverage run test_simple_calculator.py
coverage report -m

To check source code quality with pylint:

cd <root>
env PYTHONPATH=scripts:${PYTHONPATH} pylint --rcfile ./tests/.pylintrc ./tests/test_simple_calculator.py

About

Test Travis CI using simple calculator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages