-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/1.6.1' into main
- Loading branch information
Showing
18 changed files
with
51 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,139 +1,133 @@ | ||
* [#42](https://github.com/skuzzle/snapshot-tests/issues/42): Publish flattened version of our artifact to fix BOM distribution | ||
* [#43](https://github.com/skuzzle/snapshot-tests/issues/43): Allow XML structure comparison for String input | ||
* Add `XmlSnapshot.withEnableXPathDebugging(...)` and `HtmlSnapshot.withEnableXPathDebugging(...)` to print results of applying custom comparison rules | ||
* Fixed bugs and performance issues in XPath comparison engine | ||
* `toString()` of `TestFile` and `TestDirectory` contain full absoulte path to the file instead of just the file name | ||
* Deprecate `FilesFrom.directory` in favor of `FilesFrom.testResourcesDirectory` and `FilesFrom.projectDirectory` | ||
* Deprecate `DirectoriesFrom.directory` in favor of `DirectoriesFrom.testResourcesDirectory` and `DirectoriesFrom.projectDirectory` | ||
* Deprecated property `DirectoriesFrom.directory` should not be mandatory | ||
|
||
|
||
Maven Central coordinates for this release: | ||
|
||
## BOM Artifact | ||
Manages the versions of all modules in case you are using multiple in your project | ||
|
||
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=1.6.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.test/snapshot-tests-bom/1.6.0/jar) | ||
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=1.6.1&color=blue)](https://search.maven.org/artifact/de.skuzzle.test/snapshot-tests-bom/1.6.1/jar) | ||
|
||
```xml | ||
<dependency> | ||
<groupId>de.skuzzle.test</groupId> | ||
<artifactId>snapshot-tests-bom</artifactId> | ||
<version>1.6.0</version> | ||
<version>1.6.1</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
``` | ||
|
||
``` | ||
testImplementation(platform("de.skuzzle.test:snapshot-tests-bom:1.6.0")) | ||
testImplementation(platform("de.skuzzle.test:snapshot-tests-bom:1.6.1")) | ||
``` | ||
|
||
## Artifacts | ||
If you only need text based snapshots: | ||
|
||
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=1.6.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.test/snapshot-tests-core/1.6.0/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=1.6.0&color=orange)](http://www.javadoc.io/doc/de.skuzzle.test/snapshot-tests-core/1.6.0) | ||
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=1.6.1&color=blue)](https://search.maven.org/artifact/de.skuzzle.test/snapshot-tests-core/1.6.1/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=1.6.1&color=orange)](http://www.javadoc.io/doc/de.skuzzle.test/snapshot-tests-core/1.6.1) | ||
|
||
```xml | ||
<dependency> | ||
<groupId>de.skuzzle.test</groupId> | ||
<artifactId>snapshot-tests-core</artifactId> | ||
<version>1.6.0</version> | ||
<version>1.6.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
``` | ||
|
||
``` | ||
testImplementation 'de.skuzzle.test:snapshot-tests-core:1.6.0' | ||
testImplementation("de.skuzzle.test:snapshot-tests-core:1.6.0") | ||
testImplementation 'de.skuzzle.test:snapshot-tests-core:1.6.1' | ||
testImplementation("de.skuzzle.test:snapshot-tests-core:1.6.1") | ||
``` | ||
|
||
If you need json based snapshots (includes `-core`): | ||
|
||
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=1.6.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.test/snapshot-tests-jackson/1.6.0/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=1.6.0&color=orange)](http://www.javadoc.io/doc/de.skuzzle.test/snapshot-tests-jackson/1.6.0) | ||
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=1.6.1&color=blue)](https://search.maven.org/artifact/de.skuzzle.test/snapshot-tests-jackson/1.6.1/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=1.6.1&color=orange)](http://www.javadoc.io/doc/de.skuzzle.test/snapshot-tests-jackson/1.6.1) | ||
|
||
```xml | ||
<dependency> | ||
<groupId>de.skuzzle.test</groupId> | ||
<artifactId>snapshot-tests-jackson</artifactId> | ||
<version>1.6.0</version> | ||
<version>1.6.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
``` | ||
|
||
``` | ||
testImplementation 'de.skuzzle.test:snapshot-tests-jackson:1.6.0' | ||
testImplementation("de.skuzzle.test:snapshot-tests-jackson:1.6.0") | ||
testImplementation 'de.skuzzle.test:snapshot-tests-jackson:1.6.1' | ||
testImplementation("de.skuzzle.test:snapshot-tests-jackson:1.6.1") | ||
``` | ||
|
||
If you need xml based snapshots (includes `-core`): | ||
|
||
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=1.6.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.test/snapshot-tests-jaxb/1.6.0/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=1.6.0&color=orange)](http://www.javadoc.io/doc/de.skuzzle.test/snapshot-tests-jaxb/1.6.0) | ||
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=1.6.1&color=blue)](https://search.maven.org/artifact/de.skuzzle.test/snapshot-tests-jaxb/1.6.1/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=1.6.1&color=orange)](http://www.javadoc.io/doc/de.skuzzle.test/snapshot-tests-jaxb/1.6.1) | ||
|
||
```xml | ||
<dependency> | ||
<groupId>de.skuzzle.test</groupId> | ||
<artifactId>snapshot-tests-jaxb</artifactId> | ||
<version>1.6.0</version> | ||
<version>1.6.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
``` | ||
|
||
``` | ||
testImplementation 'de.skuzzle.test:snapshot-tests-jaxb:1.6.0' | ||
testImplementation("de.skuzzle.test:snapshot-tests-jaxb:1.6.0") | ||
testImplementation 'de.skuzzle.test:snapshot-tests-jaxb:1.6.1' | ||
testImplementation("de.skuzzle.test:snapshot-tests-jaxb:1.6.1") | ||
``` | ||
|
||
If you need HTML based snapshots (includes `-core`): | ||
|
||
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=1.6.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.test/snapshot-tests-html/1.6.0/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=1.6.0&color=orange)](http://www.javadoc.io/doc/de.skuzzle.test/snapshot-tests-html/1.6.0) | ||
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=1.6.1&color=blue)](https://search.maven.org/artifact/de.skuzzle.test/snapshot-tests-html/1.6.1/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=1.6.1&color=orange)](http://www.javadoc.io/doc/de.skuzzle.test/snapshot-tests-html/1.6.1) | ||
|
||
```xml | ||
<dependency> | ||
<groupId>de.skuzzle.test</groupId> | ||
<artifactId>snapshot-tests-html</artifactId> | ||
<version>1.6.0</version> | ||
<version>1.6.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
``` | ||
|
||
``` | ||
testImplementation 'de.skuzzle.test:snapshot-tests-html:1.6.0' | ||
testImplementation("de.skuzzle.test:snapshot-tests-html:1.6.0") | ||
testImplementation 'de.skuzzle.test:snapshot-tests-html:1.6.1' | ||
testImplementation("de.skuzzle.test:snapshot-tests-html:1.6.1") | ||
``` | ||
|
||
## Experimental | ||
Directory Params | ||
|
||
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=1.6.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.test/snapshot-tests-directory-params/1.6.0/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=1.6.0&color=orange)](http://www.javadoc.io/doc/de.skuzzle.test/snapshot-tests-directory-params/1.6.0) | ||
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=1.6.1&color=blue)](https://search.maven.org/artifact/de.skuzzle.test/snapshot-tests-directory-params/1.6.1/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=1.6.1&color=orange)](http://www.javadoc.io/doc/de.skuzzle.test/snapshot-tests-directory-params/1.6.1) | ||
|
||
```xml | ||
<dependency> | ||
<groupId>de.skuzzle.test</groupId> | ||
<artifactId>snapshot-tests-directory-params</artifactId> | ||
<version>1.6.0</version> | ||
<version>1.6.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
``` | ||
|
||
``` | ||
testImplementation 'de.skuzzle.test:snapshot-tests-directory-params:1.6.0' | ||
testImplementation("de.skuzzle.test:snapshot-tests-directory-params:1.6.0") | ||
testImplementation 'de.skuzzle.test:snapshot-tests-directory-params:1.6.1' | ||
testImplementation("de.skuzzle.test:snapshot-tests-directory-params:1.6.1") | ||
``` | ||
|
||
Object normalization | ||
|
||
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=1.6.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.test/snapshot-tests-normalize/1.6.0/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=1.6.0&color=orange)](http://www.javadoc.io/doc/de.skuzzle.test/snapshot-tests-normalize/1.6.0) | ||
[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=1.6.1&color=blue)](https://search.maven.org/artifact/de.skuzzle.test/snapshot-tests-normalize/1.6.1/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=1.6.1&color=orange)](http://www.javadoc.io/doc/de.skuzzle.test/snapshot-tests-normalize/1.6.1) | ||
|
||
```xml | ||
<dependency> | ||
<groupId>de.skuzzle.test</groupId> | ||
<artifactId>snapshot-tests-normalize</artifactId> | ||
<version>1.6.0</version> | ||
<version>1.6.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
``` | ||
|
||
``` | ||
testImplementation 'de.skuzzle.test:snapshot-tests-normalize:1.6.0' | ||
testImplementation("de.skuzzle.test:snapshot-tests-normalize:1.6.0") | ||
testImplementation 'de.skuzzle.test:snapshot-tests-normalize:1.6.1' | ||
testImplementation("de.skuzzle.test:snapshot-tests-normalize:1.6.1") | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters