Giter VIP home page Giter VIP logo

Comments (5)

matepek avatar matepek commented on June 24, 2024

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.

suikan4github avatar suikan4github commented on June 24, 2024

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.

Ext3h avatar Ext3h commented on June 24, 2024

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.

suikan4github avatar suikan4github commented on June 24, 2024

Thank you very much. This is clear and easy to understand.

from vscode-catch2-test-adapter.

matepek avatar matepek commented on June 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.