nskrypnik / methodtest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test assignment for Method studio

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.

Requirements

Package requirements are handled using pip. To install them do

pip install -r requirements.txt

Tests

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.

About

License:MIT License


Languages

Language:Python 99.0%Language:Shell 1.0%