How do I create a step library?

An optional component is available to generate a html report of all steps available for the given project. This can be useful to refer to during Deliberate Discovery or refining upcoming features. The report is generated by the invoking the standalone StepsLibraryGenerator class, from the dedicated test-fw-steps-library module.

To incorporate this into a maven build add the following exec plugin definition to the test module within your project. The output file will then be generated in the target directory in the module as stepsLibrary.html

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>exec-maven-plugin</artifactId>
   <version>1.5.0</version>
   <dependencies>
       <dependency>
           <groupId>com.iconsolutions.test</groupId>
           <artifactId>test-fw-steps-library</artifactId>
           <version>${test-fw-core.version}</version>
       </dependency>
   </dependencies>
   <executions>
       <execution>
           <id>generate-steps-library</id>
           <phase>compile</phase>
           <goals>
               <goal>java</goal>
           </goals>
           <configuration>
               <includePluginDependencies>true</includePluginDependencies>
               <mainClass>com.iconsolutions.testfw.core.steps_library.StepsLibraryGenerator</mainClass>
               <arguments>${project.build.directory}/stepsLibrary.html</arguments>
           </configuration>
       </execution>
   </executions>
</plugin>