robertcampion / dredd

Scoring software for the MRDC (Midwestern Robotics Design Competition)
1 stars 0 forks source link

Testing #9

Open robertcampion opened 8 years ago

robertcampion commented 8 years ago

The second major task I want to accomplish this year is adding automated testing to the codebase.

There are already templates for both unit tests and integration tests on most of the code, but no actual tests are implemented.

Right now things are configured so you can run all the tests with grunt test. Specific sets of tests can be run by adding options, e.g. grunt test:coverage:unit.

For now let's focus mainly on the unit tests. My goal is to get near 100% coverage on the unit tests (with all tests passing, of course) by November.

Note: running the coverage tests generates a coverage folder that contains code coverage reports.