public class ExampleTestClass {
@Test
public void testMethod() {
Specsy.spec().describe("Concurrent Processing Test", () -> {
Specsy.concurrent(4, () -> {
// ...
});
});
}
}
public class ExampleTestClass {
@Test
public void testMethod() {
Specsy.spec().describe("Concurrent Processing Test", () -> {
Specsy.concurrentWithThreadPool(4, () -> {
// ...
});
});
}
}