Some tests are not displayed
See original GitHub issueWhen 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:
- Created 4 years ago
- Comments:13 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think I mixed too many things here, will create a new, more clear version)
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.