Skip to content

durationSec in testsuites and testsuite is broken #3

@jinchenbravo

Description

@jinchenbravo

Sorry I am not able to re-open the previous issue, so I have to raise a new one.
I have re-tried your new fix, but the durationSec for testsuite is still broken.
As you can see below, the time for testsuites is 25.932, the time for testsuite are 25.127, 0.439, 0.366. But in your output, it shows something wrong.

<?xml version="1.0" encoding="UTF-8" ?> <testsuites disabled="0" errors="0" failures="0" tests="5" time="25.932"> <testsuite name="send create request" timestamp="2019-04-05T17:53:47" hostname="localhost" time="25.127" errors="0" tests="2" skipped="0" disabled="0" failures="0"> <testcase classname="send create request" name="Then get status code 201" time="0.003" /> <testcase classname="send create request" name="And the response body" time="0.003" /> </testsuite> <testsuite name="send get request" timestamp="2019-04-05T17:54:12" hostname="localhost" time="0.439" errors="0" tests="2" skipped="0" disabled="0" failures="0"> <testcase classname="send get request" name="Then get status code 200" time="0.001" /> <testcase classname="send get request" name="And the response body" time="0.001" /> </testsuite> <testsuite name="send delete request" timestamp="2019-04-05T17:54:13" hostname="localhost" time="0.366" errors="0" tests="1" skipped="0" disabled="0" failures="0"> <testcase classname="send delete request" name="Then get status code 204" time="0" /> </testsuite> </testsuites>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions