Displaying 1 result from an estimated 1 matches for "missing_test".
Did you mean:
missing_tests
2006 May 24
0
[tip] Test coverage
...much
of my code was being exercised, but somehow the number of lines of test code
did not sync up with what I expected so I went looking for models and
controllers that were missing unit and functional tests. Here is a rake task
you can dump into your Rakefile or /lib/tasks. You can then run:
rake missing_tests
and it will let you know where you have failed to create a test file (it
offers no opinion on how meaningful your tests are :). I really recommend
rcov as another tool if you are looking for some automated feedback about
what code is being executed by your tests.
Comments welcome!
[1] http://ei...