Releases: pedrovgs/KotlinSnapshot
Releases · pedrovgs/KotlinSnapshot
Failing on Missing Snapshots
Add a new config param to be able to break the build if there are missing screenshots instead of rewriting them.
Thanks @TobiasMende for your contribution!
Fix nested list exception
2.2.3 Fix nested list serialization
Fix Gradle 6.X integration
2.2.2 Fix gradle 6.X integration
Improved diff error colors and provided windows support
- User more conventional diff coloring
- Support Windows line endings replacing '\r\n' to '\n'
Fix JUnit 5 and IntelliJ diff support
- Fix IntelliJ diff support.
- Fix JUnit 5 support
2.1.0 Improve IntelliJ and JUnit 5 support:
- Support for nullable types.
- Improved IntelliJ Support.
- Add JUnit 5 Support
Serialization format improvements
Change the default serialization format to use a custom JSON serializer based on GSON.
First major release
Improve dates serialization.
Let the user customize the serialization used by providing a SerializationModule
implementation.
Add a new feature to let the user split the snapshots by different folders using the test class name.
Simplify how the test method name is extracted by using the @test annotation.
Smart serialization
Gradle plugin
- Create a gradle plugin to add
updateSnapshots
andpurgeSnapshots
tasks.