Forum Discussion

nburns's avatar
nburns
Occasional Contributor
3 years ago

Custom results reporting with test step pass/fail

Hello,

 

I am evaluating the ability to have automated test results posted to Zephyr Scale in Jira.  I can get a cycle to be created, placed in a folder of my choosing and mark a test case as pass/fail but I cant find any information on how to get steps in a test case to be marked as pass/fail.  Any assistance would be a great help.

 

Here is an example test results file:

 

{
    "version" : 1,
    "executions" : [ 
        {
            "result": "Failed",
            "testCase": {
                "key" : "ENG-T1"
            },
            "steps": [
                {
                    "result": "Passed"
                }
            ]
        },
        {
            "result": "Passed",
            "testCase": {
                "name" : "This is a test"
            }
        }
    ]
}