Comments (5)
The test-explorer.*
commands and the buttons are implemented in the test explorer extension (not mine). The interface I implemented to run the tests is run(testIds)
and it is called by the single module buttons, the big button or even the commands.
We are going out of the issue scope, feel free to open a new one if you have another question.
from vscode-ceedling-test-adapter.
I confirm that the extension never run ceedling test:all
. When the big button is pressed, the parent extension give the full list of test to execute to this one. We could detect that the whole test suite is started and then run test:all
instead of running them one by one but I think it would also require some change in the parsing of the results. Why would you expect report.xml to be filled with all the test results?
from vscode-ceedling-test-adapter.
I thought the big one was a test:all and the ones in the list were running test:module and thought I would get the results accordingly to that. I had a script passing it into my own result format. Another question, is there a difference between pressing play on the module name vs on the test name? (aka, I can't seem to figure out how to run a singular test). I haven't had time to look deeper into this but wouldn't it be simpler to use the general ceedling commands instead of parsing the test ids?
from vscode-ceedling-test-adapter.
This ext is just a layer gluing ceedling to the vscode-test-explorer. It does not directly handle the buttons and stuff. It communicates with the test explorer using an api and with ceedling through files and cli. There are plenty of adapters for the test explorer so the api does not reflect exactly the ceedling interface.
There is no difference between test and module buttons since ceedling does not allow to run a single function as a test. The whole file is always executed.
If your tests are not too long, maybe ceedling could be re-run at the beginning of the script.
from vscode-ceedling-test-adapter.
Would it be possible to have two different args in the settings for the 2 different buttons? One for "test-explorer.run-all" and one for "test-explorer.run-file" ?
from vscode-ceedling-test-adapter.
Related Issues (20)
- Using instructions, When I open the test view I get an error HOT 4
- Coloured output is not handled HOT 5
- Tests do not load after upgrade to 1.10.0 HOT 3
- UNRESPONSIVE extension host: 'numaru.vscode-ceedling-test-adapter' when using ceedlingExplorer.testCaseMacroAliases HOT 9
- Test Explorer showing "red bang" icon instead of test status - Cannot use ruby code in project.yml HOT 10
- Remote Extension host terminating unexpectedly when trying to use ceedling test adapter HOT 4
- Working project.yml is not being loaded in vscode HOT 1
- Unsupported option leads to misleading "Unable to find project file" HOT 2
- ceedling 0.32.0 release candidate breaks test result reporting HOT 1
- ceedling 0.32 supports running single test case HOT 1
- Allow space characters in the ceedlingExplorer.shellPath path HOT 1
- Do not ask the user to check the ceedlingExplorer.shellPath if the problem is somewhere else
- Project path is not resolved correctly in version 1.8.0 HOT 3
- Test Explorer Output in Visual Studio Code : Failed to find the project.yml file. Please check the ceedlingExplorer.projectPath option. HOT 4
- Option to load report xml from gcov directory HOT 4
- Migrating to native testing HOT 4
- Be able to use TEST_VALUE instead of TEST_CASE (https://github.com/ThrowTheSwitch/Ceedling/issues/195) HOT 4
- Configuration 'true' is missing in 'launch.json'. HOT 1
- Cannot run debug gdb with multiple folders in a workspace HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-ceedling-test-adapter.