Need help : To execute different spec file in different docker container using the same build file

23 views
Skip to first unread message

sumangs...@gmail.com

unread,
Oct 27, 2020, 11:02:34 AM10/27/20
to getgauge
Hi ,

In our project we are creating with a docker image contains 
Gauge test project(gradle)+ Gauge +plugins+Java setup

"gauge run specs " is failing to execute and we tried with gradle cmd 

Ex:  gradlew gauge -PspecsDir="specs/first.spec, we can able to execute , here my question is do we need to build gradle every time for different spec file ?

Please let me know how we can run different spec file in different container using the same build file.

Thanks,
Suman

Zabil C M

unread,
Oct 27, 2020, 11:09:58 AM10/27/20
to getg...@googlegroups.com
Yes, if your Gauge java test project uses Gradle the individual spec file must be run using the Gradle command that you mentioned. This is because in such a project Gradle manages the dependency paths and the tests must compile with the dependencies before execution.
Reply all
Reply to author
Forward
0 new messages