I am trying to import json results from karate tests into the AssertThat Jira plugin.
Importing works well with cucumber js 5.1.0, but fails using karate 0.9.2
Seems that the problem lies in AssertThat using the Feature's "name" in the json to correlate to its internal Feature names, and a difference between how karate and cucumber js use the "name" and "description" fields .
Cucumber js uses the Feature's name from the feature file itself e.g. a feature file with "Feature: test reporting" will generate a json with:
{
"keyword": "Feature",
"name": "test reporting",
"description":"In order to do report tests\n As a developer\n I want to do reporting",
.....
}
While karate uses the feature file name for the "name" and put the actual Feature in the "description":
{
"keyword":"Feature"
"name":"cats.feature",
"description":"test reporting",
.....
}