Skip to content

Duration doesn't seem to be correctly calculated #211

@sagatowski

Description

@sagatowski

Describe the bug
The PR #159 doesn't seem to work correctly.

The duration doesn't seem to be correctly calculated. For example, in the below calculation, the duration of the whole test suite is SHORTER than the individual test. Running a complete test suite should always take longer than the individual tests.

Message		2023-05-01 11:06:16 203 ms | 'PlcTask' (350): | ID=12 number of tests=1, number of failed tests=0, duration=7.93e-5				
Message		2023-05-01 11:06:16 223 ms | 'PlcTask' (350): | Test name=GoFromRoughedToVented_Test1				
Message		2023-05-01 11:06:16 243 ms | 'PlcTask' (350): | Test class name=PRG_TEST.fbCryoPumpState_Test				
Message		2023-05-01 11:06:16 263 ms | 'PlcTask' (350): | Test duration=3.59549e-2	

To Reproduce
Take the latest version from the master-branch.

Expected behavior
The duration for the test suite should be longer than the duration for the individual tests.

Software versions
XAE 3.1.4024.44.
TcUnit library from branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions