Comments (5)
Hello,
Sure, let's discuss it. I'm happy if we can improve this.
Let me ask you a question just to make sure we have the same understanding on some basics.
What is a test
and what is an executable
and what is the relationship between them for you?
from vscode-catch2-test-adapter.
Hi.
I am a GoogleTest user. So,
- Test: A unit test.
- Executables: An executable file on Windows or Linux.
In my case, an executable file contains multiple unit tests.
from vscode-catch2-test-adapter.
test.parallelExecutionLimit: Maximizes the number of the parallel test executions.
Maximum number of parallel executions of the same test executable. This does not further distinguish between different test cases or permutations / iterations of the same test case.
Limit this if you have resources which are instantiable only a limited number of times per test executable.
Warning: There is no concept of resource groups spanning multiple executables!
test.parallelExecutionOfExecutableLimit: Maximizes the number of the parallel execution of executables.
(Global) total number of parallel executions of any test executable.
This is the number of processes which will be running concurrently at peak.
Additional processes will only be spawned when both the total number of concurrent processes is below test.parallelExecutionOfExecutableLimit
and the number of concurrent processes spawned from the target executable is under test.parallelExecutionLimit
.
from vscode-catch2-test-adapter.
Thank you very much. This is clear and easy to understand.
from vscode-catch2-test-adapter.
This is not correct. Ah, I definitely should clear this up..
test.parallelExecutionLimit
Maximum parallel run of tasks. Tasks are 'running a set of tests', 'test executable discovery' and 'reload of the executable's test list'. NOTE: If your executables depend on the same resource exclusively then this could cause a problem.
test.parallelExecutionOfExecutableLimit
Maximum number of execution of the same executable. With this config it can be allowed that one executable is running at the same time as multiple processes and those processes 'running a set of tests' parallel. Useful if one executable has a lot of tests which can be run parallel. It won't have effect unless the test.parallelExecutionLimit
is adjusted too. To enable this just for specific executables use the testMate.cpp.test.advancedExecutables
-> parallelizationLimit
. NOTE: if your test cases depend on the same resource exclusively then this could cause a problem.
I hope it's clear now. I will update the docs
from vscode-catch2-test-adapter.
Related Issues (20)
- Bazel, Runfiles, and C++ TestMate - how to use properly? HOT 11
- runTask always reporting "Task not found" HOT 2
- Parallel execution requires per-instance unique identifiers HOT 5
- fail to loading testing binary HOT 7
- Don't re-indent `std::cout` output HOT 1
- [Catch2] Custom main file not being picked up HOT 3
- Implicit gtest_filter fails when running 300 tests HOT 1
- Different configTemplate depending on executed tests HOT 4
- Should files.watcherExclude be honored when finding tests? HOT 5
- Label merging is broken after adding current working directory in the advanced executables configuration HOT 8
- Unexpected warning in Test Results related to "Unknown XML tag: TestCase" HOT 4
- How to setup bazel properly? (pattern, cwd, ...) HOT 2
- how to get run target path
- deactive discovery watcher at build time HOT 1
- [Abritrary Test grouping] : allow to make custom groups based on several config for advancedExecutables HOT 2
- Feature request: Test Coverage API support
- Highlight the first error, not the last
- Continuous run only selected tests
- Missing additionnal context from GoogleTest failures HOT 4
- Leading whitespace in test output unexpectedly stripped
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-catch2-test-adapter.