-
-
Notifications
You must be signed in to change notification settings - Fork 1
Running tests in parallel
Cosmin Marginean edited this page Apr 24, 2023
·
3 revisions
Alkemy provides support for running multiple tests in parallel using a pool of WebDriver (browser) instances. This process uses the native Kotest parallelism settings, so you only need to set that to the desired thread count as per Gradle example below.
Whether parallel or single-threaded, Alkemy always manages the browser instances and shuts all of them down when the tests finish. No specific code changes are required when running multiple browsers in parallel.
Read more about Kotest concurrency here.
test {
...
systemProperty "kotest.framework.parallelism", "4"
...
}