bneumann / CppUTest-Test-Adapter

A test adapter for Visual Studio Code for the C/C++ Unit Test framework CppUTest.
MIT License
16 stars 7 forks source link

Not enough info displayed when test fails #23

Closed lokimon closed 2 years ago

lokimon commented 2 years ago

When a test fails and you click on the failing test, it will say something like

expected <-1>
but was  <0>
difference starts at position 0 at: <          0         >
^

But we still need the line numbers to know which line failed.

test.cpp:2325: error: Failure in TEST(TEST_GROUP1, TEST1)
    expected <-1>
    but was  <0>
    difference starts at position 0 at: <          0         >