question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some tests are not displayed

See original GitHub issue

When I refresh the tests toolbar, it doesn’t show all tests I have in the specified folder.

My settings are:

"catch2TestExplorer.executables": [
    {
        "name": "${filename}",
        "pattern": "/absoluteTestFolderPath/*{test,Test,TEST}*"
    }
]

The logpanel output for the not found tests is the following:

[2019-06-26 18:47:42.655] [WARN] [at load.suiteCreationAndLoadingTasks.push.c2fs.isNativeExecutableAsync.then._createSuiteByUri.then (/home/user/.vscode/extensions/matepek.vscode-catch2-test-adapter-2.5.0/out/src/TestExecutableInfo.js:73:38)] Not a test executable: /absoluteTestFolderPath/HistogramTest reason: [Error: FsWrapper.spawnAsync signal: SIGABRT
	at ChildProcess.<anonymous> (/home/user/.vscode/extensions/matepek.vscode-catch2-test-adapter-2.5.0/out/src/FSWrapper.js:36:24)
	at ChildProcess.emit (events.js:182:13)
	at maybeClose (internal/child_process.js:961:16)
	at Socket.ChildProcess.spawn.stream.socket.on (internal/child_process.js:380:11)
	at Socket.emit (events.js:182:13)
	at Pipe.Socket._destroy._handle.close [as _onclose] (net.js:596:12)]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
vakokakocommented, Aug 14, 2019

I think I mixed too many things here, will create a new, more clear version)

0reactions
matepekcommented, Aug 14, 2019

Sorry, but my linux VM is deep inside cupboard. 😃

Check my comment on the issue you mentioned.

Let me know if you have any questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Test Explorer not discoverying test methods
First, check if your target platform has the correct value. Second, Open the Output Pane, and choose "Tests" from "Show output from:" dropdown...
Read more >
Why is the Visual Studio 2015/2017/2019 Test Runner not ...
My issue was my solution was not able to find certain dlls and app.config was trying to resolve them. The error was not...
Read more >
How to resolve cases of Visual Studio “No tests appearing”
An upcoming blog post will detail a procedure for how to do this. One good tip here is to determine if it is...
Read more >
Run unit tests with Test Explorer - Visual Studio (Windows)
If Test Explorer is not visible, choose Test on the Visual Studio menu, choose Windows, and then choose Test Explorer (or press Ctrl...
Read more >
Unit Tests not showing in Visual Studio for Mac - YouTube
Unit Tests not showing in Visual Studio for Mac - Show Specflow tests. 691 views 2 years ago. Sagar S. Sagar S. 59.9K...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found