Currently tests are stored in the same file as the code being tested, which seemed like a nice idea at first, but made coverage tests unrepresentative (as only half of if/else statements is being run during tests). Unless we want to unit-test the unit tests, we need to move the tests code to the tests directory, as code from that dir is not subject to code coverage measuring.
Currently tests are stored in the same file as the code being tested, which seemed like a nice idea at first, but made coverage tests unrepresentative (as only half of if/else statements is being run during tests). Unless we want to unit-test the unit tests, we need to move the tests code to the
tests
directory, as code from that dir is not subject to code coverage measuring.