fitnesse.testsystems.ConsoleExecutionLogListener Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
The newest version!
package fitnesse.testsystems;
public class ConsoleExecutionLogListener implements ExecutionLogListener {
@Override
public void commandStarted(ExecutionContext context) {
System.out.println(context.getTestSystemName());
System.out.println(context.getCommand());
}
@Override
public void stdOut(String output) {
System.out.println(output);
}
@Override
public void stdErr(String output) {
System.err.println(output);
}
@Override
public void exitCode(int exitCode) {
}
@Override
public void exceptionOccurred(Throwable e) {
e.printStackTrace();
}
}