You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hey,
As part of my research, I would like to get coverage measurements per unit test (which is equal to run a single test and check how it covers the whole system)
I followed the guides and I get the coverage in the .html format
I would like to get the different coverage metrics per method in an XML format or a text file which will help me to automate the process of data.
Is there a way to do that?
Many thanks!
This is not available out of the box, I'm afraid. But you can read the Clover's database and coverage recording files to extract the data you need. See:
http://openclover.org/doc/manual/latest/developer-guide--database-structure.html
Thanks for your response!
I'm trying to use the given API but it seems like the only thing I can get is the total number of statements\branches covered by in a single method. What I really look for is the number of statements covered in the whole projects by a single test method (in order to measure the effectiveness of the specific test method).
Does the API allows such a thing or do you know any other reasonable way to do so without running the test suite multiple times with a single test active each time?
Many thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure what do you want to achieve exactly.
But please have a look at per-test coverage files - they track code coverage generated by each test separately (in addition to the global coverage file created).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.