Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

1.6.4 Overridable Errors Feature

Latest
Compare
Choose a tag to compare
@clicman clicman released this 21 Sep 15:12
· 2 commits to master since this release

This release brings a little enhancement: ability to override errors for test results in extended reporters:
For example, we want to pass the only causedBy throwables to allure reports:

public class ExtAllureReporter extends AllureReporter {

    @Override
    public Throwable getError(Result result) {
        return result.getError().getCause();
    }
}