Invictum / serenity-reportportal-integration

Serenity TAF integration with Report Portal
Apache License 2.0
20 stars 19 forks source link

Unable to integrate report portal with Serenity BDD #114

Closed rbetha closed 4 years ago

rbetha commented 4 years ago

Hi, I have integrated report portal with Serenity project(cucumber, Maven) project. I have configured reportportal.properties and repositories mentioned in POM.xml. Serenity report portal integration-1.5.0.jar added as external jar as it is not available in our company. After running the test either it is not throwing any error or it is not connecting to reportportal. Need I to mentioned anything in goal while running the tests?? Could you please help on this ?

false bintray-epam-reportportal bintray https://dl.bintray.com/epam/reportportal

Pom Profile :

org.apache.maven.plugins maven-enforcer-plugin 1.4.1 enforce 1.8 enforce org.apache.maven.plugins maven-surefire-plugin 2.18 true org.apache.maven.plugins maven-failsafe-plugin 2.19.1 **/*.java classes 5 5 integration-test verify org.apache.maven.plugins maven-compiler-plugin 3.2 1.8 1.8 net.serenity-bdd.maven.plugins serenity-maven-plugin ${serenity.maven.version} net.serenity-bdd serenity-core ${serenity.version} serenity-reports post-integration-test aggregate
Invictum commented 4 years ago

@rbetha

Seems like integration wasn't enabled. If maven central isn't available, you need to download all the jars that required by integration alongside with integration-1.5.0.jar itself. Then you supply all the jars to the class path. The way how to do it depends of how do you run you tests.