1.0.0
Changelog
This is the first "officially stable" version of the library! π Project's major version has been bumped to emphasize API stability. There are no compatibility-breaking changes inside.
FormattedSource now supports an alternative way of referring to the format's arguments (see #25). Instead of using their indexes (e.g. {1}
), it's possible to define a fixed argumentPlaceholder
string that will be used for all the arguments. The library will then follow the order of test method parameters:
@FormattedSourceTest(
format = "? + ? = ?",
argumentPlaceholder = "?",
textBlock = """
1 + 2 = 3
3 + 4 = 7
"""
)
void calculatesSum(int a, int b, int sum) {
// first: a = 1, b = 2, sum = 3
// second: a = 3, b = 4, sum = 7
}
More details about the new feature can be found in the User Guide.
π Features
- 24085ea #25 Support positional argument placeholders (#26), closes #25 #26
- 2209854 Support Maven Wrapper (3.8.6)
π Fixes
- 6e84a52 Add project description and URL to all POM files
π§° Tasks
- 426472b deps: bump jreleaser-maven-plugin from 1.5.1 to 1.6.0 (#31), closes #31
- a00c1c6 deps: bump maven-deploy-plugin from 3.1.0 to 3.1.1 (#28), closes #28
- 6245b83 deps: bump maven-project-info-reports-plugin from 3.4.2 to 3.4.3 (#27), closes #27
- 7553d19 deps: bump maven-install-plugin from 3.1.0 to 3.1.1 (#29), closes #29
- 9373c5e deps: bump maven-enforcer-plugin from 3.2.1 to 3.3.0 (#30), closes #30
- fc1ae8e deps: bump jreleaser-maven-plugin from 1.4.0 to 1.5.1 (#21), closes #21
- bbae86c deps: bump maven-help-plugin from 3.3.0 to 3.4.0 (#22), closes #22
- c277489 deps: bump maven-javadoc-plugin from 3.4.1 to 3.5.0 (#16), closes #16
- 45f2273 deps: bump maven-release-plugin from 3.0.0-M7 to 3.0.0 (#23), closes #23
- 33d96fb deps: bump maven-surefire-plugin from 3.0.0-M9 to 3.0.0 (#24), closes #24
- 4b238c0 deps: bump versions-maven-plugin from 2.14.2 to 2.15.0 (#20), closes #20
- 72dc12b deps: bump maven-deploy-plugin from 3.0.0 to 3.1.0 (#12), closes #12
- 526e46a deps: bump maven-surefire-plugin from 3.0.0-M8 to 3.0.0-M9 (#17), closes #17
- 5ed4674 deps: bump maven-compiler-plugin from 3.10.1 to 3.11.0 (#18), closes #18
- 884a284 deps: bump maven-install-plugin from 3.0.1 to 3.1.0 (#15), closes #15
- c8d20d1 deps: bump maven-project-info-reports-plugin from 3.4.1 to 3.4.2 (#10), closes #10
- 31228bb deps: bump versions-maven-plugin from 2.13.0 to 2.14.2 (#11), closes #11
- 6ce5d33 deps-dev: bump assertj-core from 3.23.1 to 3.24.2 (#14), closes #14
- 496ecdd deps: bump maven-surefire-plugin from 3.0.0-M7 to 3.0.0-M8 (#13), closes #13
- 0d3dfa5 #9 Setup Dependabot version updates, closes #9
- 7559503 Enforce min Java and Maven versions
π Documentation
- bb4c5b4 Documentation fixes
- ed8a427 #6 Describe the "no escaping" policy for quote characters, closes #6
- 9181e00 Describe usage details in the User Guide
- 7971fb1 Fix Maven Wrapper invocation
- 5a063d1 Document Java module name
Contributors
We'd like to thank the following people for their contributions:
- GitHub
- Mike Kowalski
- dependabot[bot] (@dependabot[bot])