Incorrect test summary when testcase name includes colon (e.g. in different namespaces) #4508
Closed
1 task done
Labels
Milestone
What kind of issue is this?
Configuration
Operating system: Linux Mint 21.1 Vera
PlatformIO Version:
PlatformIO Core, version 6.1.5
Description of problem
Testcases which have a colon in their name are not correctly counted in the summary of
pio test
. This affects in particular all testcases functions residing in a different namespace. The summary always declares "0 test cases: 0 succeeded".Steps to Reproduce
Create a project with a unique test located in a different namespace, e.g.
test::dummy
(see below) invoked with a fully qualified namespace.Alternatively, it's enough to test the following line:
against this
TESTCASE_PARSE_RE
regex.Actual Results
Expected Results
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
test/test_main.cpp
The text was updated successfully, but these errors were encountered: