[英]Is it possible to run integration tests in parallel (Spring boot)?
Already has a test environment configured for a specific application (several dozen test classes).已经为特定应用程序配置了一个测试环境(几十个测试类)。
TestContainers are also used here.此处也使用了TestContainers 。
I see such an algorithm :我看到这样的算法:
Again, you need to know how to run all the test methods of this class from an object of the class, with test methods.同样,您需要知道如何从 class 的 object 中运行此 class 的所有测试方法,以及测试方法。
So, we create objects of test classes, and using the Stream API , then call the parallel() method (but here I do not control the number of simultaneously running threads).因此,我们创建测试类的对象,并使用Stream API ,然后调用parallel()方法(但这里我不控制同时运行的线程数)。
What are the options for solving this problem?解决这个问题有哪些选择?
Who has any ideas?谁有什么想法?
I found the answer to my question here我在这里找到了我的问题的答案
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.