This is a cookiecutter project which generates a java maven project with Cucumber setup
- Install cookiecutter
- Install Java
- Install maven
This is how to create a new project based on this cookiecutter project:
cookiecutter /path/to/this/local/cookiecutter/project
When the command above is executed you will be prompted to enter some more details about the project and its features. You can press Enter to keep the default values.
Example:
If you have cloned this project to /home/username/CucumberCookiecutter
then you should run the following command:
cookiecutter /home/username/CucumberCookiecutter
In order to test if the project was created successfully, run the following command from the root of the newly created project:
- If for
project_nameyou have chosen a name ending with*Test.java:
mvn clean test
- If for
project_nameyou have chosen a random name:
mvn -Dtest=<the chosen project_name> test