-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Milestone
Description
Describe the bug
Finally got some time over to try out the parsing of test descriptions over here.
The UID created (auto-uid) for tests in googletest C++ files contains a comma which seem to not be accepted:
error: Could not parse file: sw_tests_cs.sdoc. Error: TextXSyntaxError: sw_tests_cs.sdoc:27:83: Expected '([\w]+[\w()\-\/.: ]*)' or '\n' => 'ApsDecoder*, ApsUpdat'
Generated sdoc:
[TEST_SPEC]
UID: SW_TESTS_CS/test/aps_decoder_test.cc/TEST(ApsDecoder, ApsUpdateFwd)
TITLE: TEST(ApsDecoder, ApsUpdateFwd)
C++ code:
/**
* Some text.
*
* @relation(LN-SyRS-10, scope=function, role=Verifies)
*
* OBJECTIVE: Intention...
*
* INPUT: This
* is
* a statement
* \n\n
* And this is the same statement's another paragraph.
*
* PASS_CRITERIA: This is a comment.
*/
TEST(ApsDecoder, ApsUpdateFwd)
{
}
To Reproduce
Expected behavior
Screenshots
Environment
- OS: Ubuntu Linux 22.04
- Version: 0.10.1
Additional context
Metadata
Metadata
Assignees
Labels
No labels