TestNG Integration
Report TestNG test results to HP ALM via Bumblebee.
Overview
TestNG generates JUnit-format XML reports that Bumblebee processes and publishes to HP ALM.
Maven Configuration
Add the TestNG dependency and configure Surefire to use TestNG:
TestNG XML Report Location
TestNG generates reports in:
Configure the Bumblebee plugin to look in target/surefire-reports/junitreports/.
TestNG Listeners
For more control over ALM result mapping, add a custom TestNG listener that annotates test results with ALM-specific attributes:
Contact [email protected] for the ALMResultListener library.
Cucumber with TestNG
For Cucumber tests running via TestNG:
- Use the Cucumber TestNG runner (
AbstractTestNGCucumberTests) - Configure Cucumber to generate JUnit XML reports:
Point Bumblebee to target/cucumber-reports/*.xml.