Skip to content
Nozomi Ito edited this page Jan 28, 2015 · 3 revisions

Sahagin can handle various programming languages and test frameworks in a unified way.

The Sahagin runtime library for each language and test frameworks generate specified format [intermediate data](Intermediate data format), and sahagin.jar or sahagin-standalone.jar generates HTML report from the data.

Currently, Sahagin runtime library is implemented only for Java.

sahagin.jar

sahagin.jar inclues Java runtime library and report generator.

  • If executes test code with sahagin.jar javaagent command line argument, the intermediate data and HTML report are generated.
  • If set true to the [sahagin.yml runTestOnly setting](Sahagin configuration YAML), and execute test code with sahagin.jar javaagent command line argument, only the intermediate data is generated. HTML report is not generated.

sahagin-standalone.jar

sahagin-standalone.jar is standalone executable jar to generate HTML report. This jar is intended to be used mainly with the Sahagin runtime libraries other than Java.

Jenkins Sahagin Plug-in

This plug-in generates HTML report from the intermediate data, and adds the link to the HTML report to the Jenkins build result page.

This means that if you run test with sahagin.jar and Jenkins Sahagin plug-in, HTML report generating operation is executed twice. If you feel this is wasteful, skip sahagin.jar HTML report generation by specifying runTestOnly flag in sahagin.yml.

Clone this wiki locally