Skip to content

Issue with recognizing of the TEST_CASE with more than one argument of user-defined type #143

@PVeps

Description

@PVeps

If the test code contains a few test functions (it is sufficient that only one exists) with the macro TEST_CASE(a1,a2), these test functions are not recognised by the plug-in: such tests do not appear in the Test Explorer and are not marked in the source code with the line ‘Run | Debug | Show in Test Explorer’.
All other test functions in the same test file are recognised correctly.

If there are many test functions with the macro TEST_CASE(a1,a2), the plug-in hangs during tests' reloading.

All tests run trouble-free from the command line.

NB: The arguments have user-defined types (enum, function pointer). The similar test code having argument with the types uint32_t and const char* is recognised without problems.

Windows 10
VS Code 1.95
Ceedling Test Explorer for Visual Studio Code 1.12.0
Test Explorer UI 2.21.1
Test Adapter Converter 2.21.1

Ceedling 0.31.1
Unity 2.5.4
CMock 2.5.4
CException 1.3.3

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