Code coverage from automated tests

Ranorex Spy, Recorder, and Studio.
VijayG
Posts: 5
Joined: Fri Jun 07, 2019 11:58 am

Code coverage from automated tests

Post by VijayG » Mon Jun 10, 2019 6:42 am

Is there any possibility to get the code coverage for automated test suites from Ranorex?
Basically we have a good number of test cases automated and interested in the code coverage. In case of NUnits, we are using NCover to get the code coverage. Similarly it would be good if we can get the code coverage from automated tests in Ranorex test suites (rxtst).

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 4967
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Code coverage from automated tests

Post by odklizec » Mon Jun 10, 2019 7:33 am

Hi,

I believe there are, at least, two code coverage options. FxCop and OpenCover. Please follow these links for more details...
https://en.wikipedia.org/wiki/FxCop
http://community.sharpdevelop.net/forum ... 56762.aspx
http://community.sharpdevelop.net/blogs ... Cover.aspx

PS: please delete all duplicated posts regarding this topic, thanks ;)
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration