This is completed test code assignment. Solutions are located in methodtest
package,
array_flattener.py
is for flattening nested array of integers and temp_tracker.py
is
for TempTracker class.
Package requirements are handled using pip. To install them do
pip install -r requirements.txt
Testing is set up using pytest and coverage is handled with the pytest-cov plugin.
Run your tests with py.test
in the root directory.
Coverage is ran by default and is set in the pytest.ini
file.
To see an html output of coverage open htmlcov/index.html
after running the tests.