Releases: skuzzle/snapshot-tests
Releases · skuzzle/snapshot-tests
0.0.6
- #11 Rename
@SnapshotAssertions
to@EnableSnapshotTests
(breaking)
Maven Central coordinates for this release:
If you only need text based snapshots:
<dependency>
<groupId>de.skuzzle.test</groupId>
<artifactId>snapshot-tests-core</artifactId>
<version>0.0.6</version>
<scope>test</scope>
</dependency>
testImplementation 'de.skuzzle.test:snapshot-tests-core:0.0.6'
If you need json based snapshots (includes -core
):
<dependency>
<groupId>de.skuzzle.test</groupId>
<artifactId>snapshot-tests-jackson</artifactId>
<version>0.0.6</version>
<scope>test</scope>
</dependency>
testImplementation 'de.skuzzle.test:snapshot-tests-jackson:0.0.6'
If you need xml based snapshots (includes -core
):
<dependency>
<groupId>de.skuzzle.test</groupId>
<artifactId>snapshot-tests-jaxb</artifactId>
<version>0.0.6</version>
<scope>test</scope>
</dependency>
testImplementation 'de.skuzzle.test:snapshot-tests-jaxb:0.0.6'
0.0.5
- Refactor to multi module project
- #6 Allow to specify explicit snapshot name
- #7 Write snapshot information to headers (breaking)
Maven Central coordinates for this release:
If you only need text based snapshots:
<dependency>
<groupId>de.skuzzle.test</groupId>
<artifactId>snapshot-tests-core</artifactId>
<version>0.0.5</version>
<scope>test</scope>
</dependency>
testImplementation 'de.skuzzle.test:snapshot-tests-core:0.0.5'
If you need json based snapshots (includes -core
):
<dependency>
<groupId>de.skuzzle.test</groupId>
<artifactId>snapshot-tests-jackson</artifactId>
<version>0.0.5</version>
<scope>test</scope>
</dependency>
testImplementation 'de.skuzzle.test:snapshot-tests-jackson:0.0.5'
If you need xml based snapshots (includes -core
):
<dependency>
<groupId>de.skuzzle.test</groupId>
<artifactId>snapshot-tests-jaxb</artifactId>
<version>0.0.5</version>
<scope>test</scope>
</dependency>
testImplementation 'de.skuzzle.test:snapshot-tests-jaxb:0.0.5'
0.0.4
- Remove
throws
clauses from assert methods - Add
asText()
as shortcut foras(Object::toString)
- Fix NPE in case of mixing snapshot and non-snapshot tests
Maven Central coordinates for this release:
<dependency>
<groupId>de.skuzzle.test</groupId>
<artifactId>snapshot-tests</artifactId>
<version>0.0.4</version>
<scope>test</scope>
</dependency>
0.0.3
0.0.2
- #2: Allow to access some snapshot information from within the test case.
- #4: Retain original stack trace on assertion failure
- Internal refactoring
- Don't rely on spring-boot dependency management anymore
Maven Central coordinates for this release:
<dependency>
<groupId>de.skuzzle.test</groupId>
<artifactId>snapshot-tests</artifactId>
<version>0.0.2</version>
<scope>test</scope>
</dependency>