Orange-OpenSource / hurl

Hurl, run and test HTTP requests with plain text.
https://hurl.dev
Apache License 2.0
12.26k stars 475 forks source link

SPlit HTML/JUNIT report into test cases #2889

Open jakubstephan opened 4 weeks ago

jakubstephan commented 4 weeks ago

Hello everyone,

I'm using HURL to test within one file with 30+ endpoints.

It's possible to split report for each test case with a name of tested endpoint ?

I'm putting junit test report into gitlab.com and it shows it as a one test :(

If it failed it also shows that each testrun fails instead of single endpoints.

jakubstephan commented 4 weeks ago

Now XML looks like this:

<?xml version="1.0" encoding="utf-8"?>
<testsuites>
    <testsuite tests="1" errors="0" failures="0">
        <testcase id="after_release.hurl" name="after_release.hurl" time="24.956"/>
    </testsuite>
</testsuites>