Skip to content

Test results of nested test suites don't show up in result summary #206

Description

@Bulkje

Describe the bug
When calling a test suite inside another test suite, the results of that test suite are not added to the result summary

To Reproduce
Make a test suite (A), add another test suite (B) as a var to A. Call test suite B in the body of A.

Expected behavior
Expected behaviour is that all the test results count towards the test result summary

Screenshots
image
image
(there's only 1 Assert in the test, different instantiations)
Software versions
TcUnit v1.2.0.0 TwinCAT 4024.12

Run environment
local on PC runtime

Additional context
You would ask, why would you need nested tests? I want to use the same test suite for multiple implementations of an interface. Each implementation requires a different setup, so I want to call the testSuite in the body and input prepared objects.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions