I installed clover plugin for eclipse.I am trying to get per test coverage details for Testng testcases.Clover is not detecting my testcases.But when change the name of my testcase to Testdemo,it works.I guess it is looking for substring "Test" in the testcase name. Can you please help me,what setting do i have to make ,inorder it to work for other tetscases as well.
In the Project Properties dialog > Clover page > Test Classes it's possible to configure file patterns (in an Ant-style syntax) or select test source folders.
Clover will use these patterns/source folders together with it's built-in test detection algorithms to determine whether given class is a test class or not. Test class must match both the pattern/source folder and this test detection algorithm.
Clover's test detector is looking for classes having:
It means that in order to have your test class instrumetned correctly (and get per-test coverage) you have to ensure that:
Hi all! We’re interested in learning more about your ITSM practices - what’s the current state of your ITSM practices? What are your aspirations for your IT team in the future? Which ITSM trends ar...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events