karate icon indicating copy to clipboard operation
karate copied to clipboard

-Dkarate.options flag disables the parallel execution in 1.4.1

Open bondar-artem opened this issue 7 months ago • 5 comments

Description: When using a flag in the command line to run tests with a -Dkarate.options, it disables the parallel execution of the tests.

Project to reproduce: https://github.com/bondar-artem/karate-parallel-issue

Steps:

  1. Open project, run mvn clean test. 5 tests executed in parallel
  2. Run command mvn clean test "-Dkarate.options=classpath:examples/TestParallel.feature". Tests executed in a single thread
  3. Update karate to version 1.4.0, and execute command from the step 2. Tests executed in parallel.

bondar-artem avatar Nov 10 '23 19:11 bondar-artem