18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Code coverage using Sahi junits

patpro123patpro123 Members
edited November -1 in Sahi - Open Source
Hi

we are using Sahi to write junits for web-based components. But we cannot find a way to get check coverage of the test class. For other junits (non-Sahi) we use Cobertura for checking the coverage. Is there a way to check covered java classes for a Sahi test method?

Comments

  • narayannarayan Administrators
    Hi,

    Sahi tests run in a separate JVM than the application JVM. I think you will need to hook in Cobertura to your app server process, and then run Sahi tests and somehow correlate them.

    Regards,
    Narayan
  • Thanks for your reply...
Sign In or Register to comment.