Can I set the thread pool size for SpringJUnit4ClassRunner

I'm using SpringJUnit4ClassRunner and each test case in a class appears to create a new thread. Is it possible to limit the size of the thread pool available to the runner?

Answers


This is not purpose of this class. You can configure parallelism of your tests either in your IDE or rather in maven surefire plugin: https://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html


Need Your Help

Count number of times a word-wildcard appears in text (in R)

r wildcard text-mining word-frequency qdap

I have a vector of either regular words ("activated") or wildcard words ("activat*"). I want to:

Compiling for iOS with CMake

c++ ios compilation cmake arm

I've compiled a C++ static library by using CMake as my building tool and I want to link it to my iOS app.