Package org.jbehave.core.embedder

Examples of org.jbehave.core.embedder.Embedder.reportStepdocsAsEmbeddables()


public class ReportStepdocsAsEmbeddables extends AbstractEmbedderTask {

  public void execute() throws BuildException {
    Embedder embedder = newEmbedder();
    log("Reporting stepdocs as embeddables using embedder " + embedder, MSG_INFO);
    embedder.reportStepdocsAsEmbeddables(classNames());
  }

}
View Full Code Here


    public void execute() throws MojoExecutionException, MojoFailureException {
        Embedder embedder = newEmbedder();
        getLog().info("Reporting stepdocs as embeddables using embedder " + embedder);
        try {
            embedder.reportStepdocsAsEmbeddables(classNames());
        } catch (RuntimeException e) {
            throw new MojoFailureException("Failed to report stepdocs as embeddables", e);
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.