|
Here's a story from a friend of a friend. I'm sure it must be
true, at least somewhere. A project got started to do a big system. It was outsourced to a
big software/consultancy house - one I know you've heard of. They
put in an impressive team for the bid, and naturally swapped them
all out for a lot of junior people for the actual sork. All standard
procedure. The twist is that the company made a big point of using heavy
testing with JUnit. Every public method had to have JUnit
tests. They proudly showed the client all the tests and the green bar. However there weren't any assertions in the JUnit tests. I don't know if they did code coverage analysis on this project,
but of course you can do this and have 100% code coverage - which is
one reason why you have to be careful on interpreting code coverage data.
|