Code Coverage usage?

Ask general questions here.
dmconsulting1
Posts: 91
Joined: Fri Nov 08, 2019 3:23 pm

Code Coverage usage?

Post by dmconsulting1 » Thu Jul 16, 2020 8:17 pm

I am not finding much on what to do with the code coverage tab in project options. I added a dll and exe to it Include and ran my suite. What next?

When I did a search, it seems there used to be a rite up that no longer exists. Anyone know what I am talking about?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12143
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Code Coverage usage?

Post by Support Team » Fri Jul 17, 2020 8:10 pm

I think this is the write up you are wanting: https://web.archive.org/web/20190803021 ... Cover.aspx

I also saved it as a PDF in the event the Internet Archive project ever goes down (which hopefully never happens...).

Regards,
Ned
Attachments
CodeCoverage.zip
(736.77 KiB) Downloaded 4 times
.
Image

dmconsulting1
Posts: 91
Joined: Fri Nov 08, 2019 3:23 pm

Re: Code Coverage usage?

Post by dmconsulting1 » Tue Jul 21, 2020 4:51 pm

Ok, thanks. Not sure how this ties to Ranorex or what the Code Coverage tab is for. I will read through this and see what I can figure out.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12143
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Code Coverage usage?

Post by Support Team » Tue Jul 21, 2020 5:26 pm

Ranorex Studio is based on SharpDevelop, an open-source .NET IDE, which this code coverage tab is inherited from. It is not really a Ranorex feature, but a code feature (read more about code coverage here). Since this feature has not been improved upon like the other features in Ranorex Studio, it is a bit dated. If you really need code coverage, open your solution in Visual Studio, and use their code coverage tool.

If having a more modern code coverage tool in Ranorex Studio for Ranorex tests, I recommend making a feature request here.

I hope this clarifies everything!

Cheers,
Ned
.
Image