org.jgotesting.traits.Failing Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jgotesting Show documentation
Show all versions of jgotesting Show documentation
JUnit-compatible testing tool inspired by Go's testing package
The newest version!
package org.jgotesting.traits;
/**
* Documenting interface for failures.
*/
public interface Failing {
/**
* marks the function as having failed but continues execution
*/
T fail(Object... args);
/**
* equivalent to logf followed by fail
*/
T failf(String fmt, Object... args);
}