Hey,
I have the cucumber plugin for bamboo installed and am running cucumber-jvm tests. When the test run finishes the build goes green. But when I click on the cucumber tab all the fields are empty.
I have added the JSON reporter to my RunCukesTest.java file:
@Cucumber.Options(tags = {"~@wip", "~@manual"}, format = {"pretty", "html:src/target/cucumber/html/cucumber-html-report", "json:src/target/cucumber/cucumber.json"})
The file can be seen (cucumber.json) on the test repository. But I am struggling to actually get the results displayed in the cucumber tab in Bamboo.
Where am I going wrong? Is there anything else I need to set up in order for Bamboo to locate the JSON file being created? I have specified the path when setting up as: **/target/cucumber/cucumber.json
the actual location of the file is tests/target/cucumber/cucumber.json
any help would be greatly appreciated.
Kind regards,
Usman Hussain
If the "CUCUMBER_JSON_REPORT" key is missing then the plugin did not find your JSON file.
awesome... The plugin does find the JSON file as I can see CUCUMBER_JSON_REPORT appear in the metadata tab. I will give the new version a whirl and let you know how I get on.
Again this is really appreciated the reply and work you have done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's worth noting the updated version of this add-on now has better debugging for problems with finding the JSON file
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you managed to resolve this?
Im having a similar issue where the plugin is failing.
In the metadata, I see the key : CUCUMBER_JSON_REPORT but the value is null.
The error in the log is :
Could not execute task 'BDD-INsights' no Plugin with key 'com.hindsighttesting.behave.cucumber-bamboo-plugin:cucumberReportTask' is installed.
Now I have installed the plugin via the marketplace, but it appears i am missing something,
Can you help me identify what that is, in this vague description of an issue by any chance?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.