Subject: | covered lines --source_file=xxx --metric=statement isn't working |
I have just installed Devel-CoverX-Covered to see how my unit tests are
doing. I like this package but the main thing I want to see that which
lines are covered by my unit test and I tried to run following commands:
covered lines --source_file=HelloPerlBuildWorld.pm --metric=statement
Above command showing help of covered command and message is "Error:
Unknown command (lines)"
This feature is very important for any code coverage report by
corresponding unit tests.
When I am running covered --help command, in that also it isn't showing
line option.
My system and distribution info as under:
* Covered *
Version: 0.012
perl v5.8.7 built for i686-linux-thread-multi
Linux unittest.selfip.com 2.6.18-53.1.4.el5 #1 SMP Fri Nov 30 00:45:16
EST 2007 i686 i686 i386 GNU/Linux
CentOS 5 on VM with host OS Windows XP