Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 881 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 881 Bytes

ipop-test

Development of tests for ipop-project

Run the tests with :

python -m unittest D:/UF/OPS/Work/code/Controllers/controller/test/SignalTest.py

Number of Tests

There 36 tests in total with coverage of 91 percent.

Known problems

None

Running the coverage tool

  1. Install the coverage tool
python -m pip install coverage
  1. Run the coverage tool
python -m coverage run -m unittest D:/UF/OPS/Work/code/Controllers/controller/test/SignalTest.py
  1. View the report in HTML.
pyton -m coverage html
  1. The html folder is created in the same folder as your project. Open index.html to view the coverage. You can click on each file to view the line by line coverage.

For more details on coverage refer to Coverage.py.