Happy Independence Day! To celebrate the USA's birthday, I offer a quick post on exercising your freedom as a developer to implement new features or refactor code without flying blind or worrying what you may have missed or broken. I'm of course talking about some code coverage in Sails.js.
In my prior post on Web API development in Sails.js, we utilized Grunt and Mocha as the primary tools for our unit tests. However, what we did not review was how to target what you missed in your unit tests. After all, what good are running unit tests if you don't know where your gaps lie?
In my prior post on Web API development in Sails.js, we utilized Grunt and Mocha as the primary tools for our unit tests. However, what we did not review was how to target what you missed in your unit tests. After all, what good are running unit tests if you don't know where your gaps lie?