Skip to content

Instantly share code, notes, and snippets.

@tonit
Created March 28, 2011 12:19
Show Gist options
  • Save tonit/890368 to your computer and use it in GitHub Desktop.
Save tonit/890368 to your computer and use it in GitHub Desktop.
How to make a test probe. Entry API (PlumbingContext) will change prior 2.0 final.
private TestProbeProvider makeProbe() throws IOException
{
TestProbeBuilder probe = new PlumbingContext().createProbe();
probe.addTests(
SingleTestProbe.class,
getAllMethods( SingleTestProbe.class )
);
return probe.build();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment