Package au.com.origin.snapshots
Class SnapshotVerifier
java.lang.Object
au.com.origin.snapshots.SnapshotVerifier
-
Constructor Summary
ConstructorsConstructorDescriptionSnapshotVerifier(SnapshotConfig frameworkSnapshotConfig, Class<?> testClass) SnapshotVerifier(SnapshotConfig frameworkSnapshotConfig, Class<?> testClass, boolean failOnOrphans) Instantiate before any tests have run for a given class -
Method Summary
-
Constructor Details
-
SnapshotVerifier
-
SnapshotVerifier
public SnapshotVerifier(SnapshotConfig frameworkSnapshotConfig, Class<?> testClass, boolean failOnOrphans) Instantiate before any tests have run for a given class- Parameters:
frameworkSnapshotConfig- configuration to usefailOnOrphans- should the test break if snapshots exist with no matching method in the test classtestClass- reference to class under test
-
-
Method Details
-
expectCondition
-
validateSnapshots
public void validateSnapshots()
-