Skip to content

Instantly share code, notes, and snippets.

@tonit
Created March 28, 2011 11:57
Show Gist options
  • Save tonit/890337 to your computer and use it in GitHub Desktop.
Save tonit/890337 to your computer and use it in GitHub Desktop.
Low level api example. How to use a Test Container.
for( TestContainer testContainer : getTestContainerFactory().parse( options ) ) {
try {
testContainer.start();
testContainer.install( p.getStream() );
for( TestAddress test : p.getTests() ) {
testContainer.call( test );
}
} finally {
testContainer.stop();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment