Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

JUnit uses set name as test name and breaks CI reporting #210

Open
double-sigma opened this issue May 14, 2021 · 0 comments
Open

JUnit uses set name as test name and breaks CI reporting #210

double-sigma opened this issue May 14, 2021 · 0 comments

Comments

@double-sigma
Copy link
Contributor

Hello!

I'm setting up a test suite written in Golem (0.9.2) in CI and every run test has a new name:

Run nr 1:
<testcase name="set_ee501a" classname="testOne" time="6.13">

Run nr 2:
<testcase name="set_9ec88c" classname="testOne" time="6.81">

Expected result is name="testOne"

JSON names things correctly, but Azure DevOps doesn't support importing JSON results :)

Run nr1:

{
            "test_set": "set_ee501a",
            "module": "",
            "sub_modules": [],
            "name": "testOne",
            "full_name": "testOne",
            "result": "success",
            "test_elapsed_time": 6.13,
            "start_date_time": "2021/05/14 00:37",
            "browser": "chrome (remote)",
            "data": {},
            "environment": "",
            "set_name": ""
        }

Run nr 2:

{
            "test_set": "set_9ec88c",
            "module": "",
            "sub_modules": [],
            "name": "testOne",
            "full_name": "testOne",
            "result": "success",
            "test_elapsed_time": 6.81,
            "start_date_time": "2021/05/14 00:44",
            "browser": "chrome (remote)",
            "data": {},
            "environment": "",
            "set_name": ""
        },

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant