I decided to test the plugin for code coverage for NetBeans. Created an empty test method, activated the plugin, ran the tests and when I ask for coverage statistics it said I had not ran my tests...
I lost an hour looking for the cause of this problem but at the end all was pretty innocent...
Once I implemented some actual methods and not juts an EMPTY test method , and at least 1 line of code was invoked the statistics appeared and everything was fancy and flashy and showing some numbers...
So remember - it's not the problem in your plugin! It works... (except for single test files ) but when you run all tests, it works as nice as a baby soft skin :)
L.K.
No comments:
Post a Comment