Exemplo n.º 1
0
  public void interpret(Specification table) {
    final Example row = table.nextExample();

    Document document = Document.text(ExampleWrapper.sandbox(row));
    document.execute(new GreenPepperInterpreterSelector(systemUnderDevelopment()));
    table.exampleDone(document.getStatistics());

    while (table.hasMoreExamples()) {
      table.nextExample();
    }
  }
Exemplo n.º 2
0
 private void assertSpecificationLoadedOk(Document doc) {
   assertEquals("html", doc.getType());
 }