Package de.skuzzle.test.snapshots
Interface SnapshotDsl.Snapshot
-
- All Superinterfaces:
SnapshotDsl.ChooseActual,SnapshotDsl.ChooseName
- Enclosing interface:
- SnapshotDsl
@API(status=STABLE) public static interface SnapshotDsl.Snapshot extends SnapshotDsl.ChooseActual, SnapshotDsl.ChooseName
Allows to do snapshot assertions. An instance of this class can be injected into your test case by just specifying a parameter of this type:@Test void test(Snapshot snapshot) throws Exception { ... snapshot.assertThat(...)... }Note that the respective test class must be annotated withEnableSnapshotTests, otherwise the test framework will not be able to resolve theSnapshotparameter of the test method.- Author:
- Simon Taddiken
-
-
Method Summary
-
Methods inherited from interface de.skuzzle.test.snapshots.SnapshotDsl.ChooseActual
assertThat
-
Methods inherited from interface de.skuzzle.test.snapshots.SnapshotDsl.ChooseName
named
-
-