numaru / vscode-ceedling-test-adapter

Ceedling Test Adapter for the VS Code Test Explorer
MIT License
37 stars 14 forks source link

Test explorer UI shows wrong results #71

Closed fj-sanchez closed 3 years ago

fj-sanchez commented 3 years ago

Hi,

I'm using remote containers and I have configured a simple sample project. When I run from the command line ceedling test:all it runs properly and the results are shown, also the JunitXML file is generated, so it seems to be working fine.

$ ceedling test:all

Test 'test_gfserver.c'
----------------------
Running test_gfserver.out...

-------------------
FAILED TEST SUMMARY
-------------------
[test_gfserver.c]
  Test: test_true
  At line (4): "Bug!"

--------------------
OVERALL TEST SUMMARY
--------------------
TESTED:  1
PASSED:  0
FAILED:  1
IGNORED: 0

---------------------
BUILD FAILURE SUMMARY
---------------------
Unit test failures.

When I run it from the Test Explorer UI I still can see how the XML file is generated (tried after a ceedling clobber) but the results are not shown properly in the UI. There is nothing in the console output or problems tab. Any hints on how to fix it or debug what is going on?

image

$ ceedling version
   Ceedling:: 0.31.0
      Unity:: 2.5.2
      CMock:: 2.5.3
 CException:: 1.3.3
fj-sanchez commented 3 years ago

So, I'm not sure what I changed, but after playing with it for a while it got it working. I think it was unhappy with some of my settings (I'm using "configurationProvider": "ms-vscode.makefile-tools").