Skip to content

NumberOfTests is calculated incorrectly when test names are prefixed with DISABLED_ or IGNORED_ #266

@adithyakirank

Description

@adithyakirank

Describe the bug
When using TEST_ORDERED with all the test cases, the NumberOfTests is calculated incorrectly here since its incremented even for disabled and ignored test cases and this leads to some tests never getting executed as the loop counter is returned incorrectly at this line

To Reproduce

  • Create a test suite with lets say 8 tests that are run with IF TEST_ORDERED
  • Mark a couple of them with the DISABLED_ prefix

Expected behavior
The tests are run to completion and the disabled tests are ignored

Screenshots

Software versions
Tc4024, latest TcUnit

Run environment
TcBSD VM

Additional context

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