Skip to content

tremkonzah/maven-thucydides-jbehave-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

maven-thucydides-jbehave-plugin

Maven plugin for generate junit story stubs and scenario-steps from jbehave story files.

Build

mvn clean install

Download

Usage of generate-sources goal

To use it add to your pom.xml build section with goal generate-sources and define project.junit.stories.package(where to put generated stubs) in properties section.

<properties>
    ...
    <project.junit.stories.package>com.your.package</project.junit.stories.package>
    ...
</properties>
  <plugin>
      <groupId>net.thucydides.maven.plugin</groupId>
      <artifactId>maven-thucydides-jbehave-plugin</artifactId>
      <version>0.9.223</version>
      <executions>
          <execution>
              <goals>
                  <goal>generate-sources</goal>
              </goals>
          </execution>
      </executions>
  </plugin>

Usage of generate-steps goal

To use it add to your pom.xml build section with goal generate-steps.

  <plugin>
      <groupId>net.thucydides.maven.plugin</groupId>
      <artifactId>maven-thucydides-jbehave-plugin</artifactId>
      <version>0.9.223</version>
      <executions>
          <execution>
              <goals>
                  <goal>generate-steps</goal>
              </goals>
          </execution>
      </executions>
  </plugin>

About

Maven plugin for generate junit story stubs from jbehave story files

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.3%
  • FreeMarker 0.7%