After generating report we are getting the some of the TestNG file in Application tab in the clover report. Those are missed out from Test Code and Test Result tabs.
Do we have any special standard to flow to write the TestNG file.?
Could you please help on this. Thank you.
For this we got a solution: (100% works)
1.We name the test case Java files end with Test. (Eg. FTPConnectionTest.java )
2. And the @test annotation method should Public method. If you added private method it fall in Application code in report. Refer Grzegorz Lewandowski [Atlassian] answer also fro detection algorithm.
By default Clover uses default test code detection algorithm and every file which doesn't match test code according this algorithm is marked as production code.
You can modify default behavior with testsources
configuration
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank for your command and support. This might useful for us.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.