Skip to main content

Create a project and run the sample

For a new repository. The result is a Maven project whose sample test has run and written a report. You need the JDK and Maven version named on Install SHAFT.

Steps​

  1. Open Install SHAFT and use the project generator. Pick the test runner and surfaces. Download the project.
  2. From the project root, run:
mvn test
mvn test
  1. Confirm the sample ran (the Maven summary is not Total: 0) and evidence is at allure-results and the generated Allure report under the project target output.

If the sample does not run​

Stay on Install SHAFT. That page owns the Java, Maven, browser, and Surefire checks. Do not hand-write a POM until that page says generation is impossible.

Next, if you need a pipeline: Run the suite in CI.

How the generator chooses modules is background, not part of this path: Features and modules.