prashant-ramcharan / courgette-jvm

Multiprocess | Parallel Cucumber-JVM | Parallelize your Java Cucumber tests on a feature level or on a scenario level.
MIT License
132 stars 38 forks source link

Override some properties with environment variables #28

Closed alexsyd closed 6 years ago

alexsyd commented 6 years ago

We need to change how many VMs are started from Docker environment in our project. Also we need to control memory options of started VMS. I already made necessary changes here: https://github.com/alexsyd/courgette-jvm/commit/4e945cfa56d9af43c07d7492bc21ef9675c6e650 could you please merge them in your project?

prashant-ramcharan commented 6 years ago

I've made a few comments to your PR.

Overriding the Courgette options was previously requested so I pushed these changes to version 1.5.0 which is now released.

Please refer to README for usage instructions.

-Dcourgette.threads=2 -Dcourgette.runLevel=SCENARIO
masar commented 6 years ago

@prashant-ramcharan What about -Xmx -xms params? This is very useful thing.

prashant-ramcharan commented 6 years ago

@alexsyd @masar This is now released in version 1.5.1

-Dcourgette.vmoptions="-Xms256m -Xmx512m"
alexsyd commented 6 years ago

Thanks a lot!