Class CacioAssertJRunner
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
- org.junit.runners.BlockJUnit4ClassRunner
-
- com.github.caciocavallosilano.cacio.ctc.junit.CacioTestRunner
-
- com.github.caciocavallosilano.cacio.ctc.junit.CacioAssertJRunner
-
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Sortable
public class CacioAssertJRunner extends CacioTestRunner
-
-
Constructor Summary
Constructors Constructor Description CacioAssertJRunner(Class<?> testClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.junit.runners.model.StatementmethodInvoker(org.junit.runners.model.FrameworkMethod method, Object test)Returns athat invokesStatementmethodontest.-
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, methodBlock, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
-
-
-
-
Constructor Detail
-
CacioAssertJRunner
public CacioAssertJRunner(Class<?> testClass) throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
-
-
Method Detail
-
methodInvoker
protected org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method, Object test)Returns athat invokesStatementmethodontest. The created statement will take and save the screenshot of the desktop in case of a failure.- Overrides:
methodInvokerin classorg.junit.runners.BlockJUnit4ClassRunner
-
-