TESTARtool / TESTAR_dev

TESTAR, automated testing through the Graphical User Interface
http://www.testar.org
BSD 3-Clause "New" or "Revised" License
37 stars 24 forks source link

Add Code Coverage framework #405

Closed ferpasri closed 11 hours ago

ferpasri commented 1 month ago
  1. Add testar\coverage framework
  2. Add testar\coverage\jacoco implementation:
    • Get Jacoco sequence coverage
    • Get Jacoco action coverage
    • Get Jacoco action accumulative coverage
  1. Fix reporter crash when action Desc is null #407
ferpasri commented 3 weeks ago

How to test:

  1. Use desktop_java_coverage/Protocol_desktop_java_coverage.java
  2. Extract and configure the suts/PrintLogFile folder that contains the JacocoCoverageClasses
  3. Play with the accumulative enabled/disabled option to check that TESTAR creates accumulative or independent test coverage results in the output folder

These steps can also be validated with SwingSet2 protocol by preparing the adequate TESTAR settings

Check the visual settings in the TESTAR dialog - Advanced panel