Is there any way to get the content of the clover registry files ?

Hi

Is there any way to get the content of the registry files ?

I'd like to have the mapping between test methods and the source covered by this test method in an xml format

or by using apis if any.

The xml report format does not contains this information.

Regards.

1 answer

0 vote

Indeed, per-test coverage information is written in HTML report only. There is no published API for reading registry files. However, if "test case <-> application class" mapping would be sufficient, you could create an optimization snapshot file (<clover-snapshot> task) and next use the SnapshotPrinter command line tool to print the mapping.

See:

Cheers
Marek

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Trello

Alice Camilla on organizing your work/life/fandoms with Trello!

@Alice Camilla is a university student, currently writing her MA thesis in Archaeology. She's also a freelance blogger and content creator, writing about geeky stuff from productivity apps to JR...

41 views 1 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you