Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PVeps opened this issue Dec 13, 2024 · 0 comments

Comments

@PVeps
Copy link

PVeps commented Dec 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant