We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find a simpler way to create tester implementations. Currently is looks like this:
private static Tester<Object> tester(final Object argument) { return new Tester<Object>() { public Test test(final Object item) { String name = " ... "; return new TestCase(name) { protected void runTest() throws Throwable { ... assert ... } }; } }; }
The text was updated successfully, but these errors were encountered:
created BodyTester which helps implementing Tester 222a189
New idiom is
private static Tester<Object> tester(final Object argument) { return new BodyTester<Object>() { protected String name(Object item) { return " ... "; } protected void body(Object item) throws Throwable { ... assert ... } }; }
Sorry, something went wrong.
maciejmikosik
No branches or pull requests
Find a simpler way to create tester implementations.
Currently is looks like this:
The text was updated successfully, but these errors were encountered: