##### Coverage Report - org.jbehave.ant.ReportStepdocs

Classes in this File | Line Coverage | Branch Coverage | Complexity
ReportStepdocs |
100% | 5/5
N/A | N/A
| 1.0;1

1 |  |
     package org.jbehave.ant;
2 |  |
3 |  |
     import static org.apache.tools.ant.Project.MSG_INFO;
4 |  |
5 |  |
     import org.apache.tools.ant.BuildException;
6 |  |
     import org.jbehave.core.embedder.Embedder;
7 |  |
8 |  |
     /**
9 |  |
      * Ant task to report stepdocs given a fully configured {@link Embedder} instance.
10 |  |
      */
11 | 1 |
     public class ReportStepdocs extends AbstractEmbedderTask {
12 |  |
13 |  |
             public void execute() throws BuildException {
14 | 1 |
                     Embedder embedder = newEmbedder();
15 | 1 |
                     log("Reporting stepdocs using embedder " + embedder, MSG_INFO);
16 | 1 |
                     embedder.reportStepdocs();
17 | 1 |
             }
18 |  |
19 |  |
     }