prashant-ramcharan / courgette-jvm

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

How to create an executable jar #342

Closed BalajiSingh closed 1 year ago

BalajiSingh commented 1 year ago

Hi Prashant,

I am using your framework from past 2 years and everything is works fine. Thanks for your help and support.

Coming back to the question : - I am using Cucumber Gradle based project but i have requirement that i need to create an execute jar of my project and give this jar to functional team instead of giving the entire framework.

I understand that to create a an executable jar we definitely and main method in my project. More over the jar by default which is created by gradle build ( in build/libs / ***.jar) has only src/main/java classes and src/main/resources package folders and files but doesn't have src/test/java packages classes & src/test/resources files.

Please suggest and adivse me so here on steps to create an executable jar which will have all required packages and files so that i can execute this jar

BalajiSingh commented 1 year ago

Also let me know what code snippet needs to added in build.gradle file

prashant-ramcharan commented 1 year ago

Hi,

You should be able to find a solution on stack overflow or google for this.

prashant-ramcharan commented 1 year ago

Closing issue as this question is not related to Courgette.