- r Bump com.approvaltests:approvaltests from 22.3.3 to 24.21.1
Type: Pull Request
State: Merged
Association: Contributor
Comments: 0
(about 1 year ago)
(about 1 year ago)
(about 1 year ago)
by isidore
dependencies java
Bumps com.approvaltests:approvaltests from 22.3.3 to 24.21.1.
Release notes
Sourced from com.approvaltests:approvaltests's releases.
Verify Map works with keys that are not comparable
Fixes #650
Added FileUtils.getResolvedPath()
When working with the file
./name.txt:
getAbsolutePath()will resolve this to/path/to/./name.txtinstead of the desired
/path/to/name.txt.
getResolvedPath()solves this problem.Python scripts for remove_abandoned_files and approve_all
Also, temp folder works when running tests in multi-threaded mode
ReadBuffer input no longer modifies newlines or adds them at the end
Also: Added StringUtils.ensureEnding Added FileUtils.readFile(file, ensureTrailingNewline = true)
Closes #637
Automatically git-ignore our temp folder
Just like ApprovalTests.Python, we now write a
.gitignorefile into our temp directory, thus consumers of the library don't have to add the folder themselves to their project's gitignore.Once.runAsync
Oncenow supports running tasks asynchronously.Bugfix
Downloading the approve_all script now is done asynchronously, meaning it won't affect build times. Closes #615
Fixes problems with ReporterWithApprovalPower and FirstWorkingReporter
Fixes bug #446
Allow configuration of project base directory
By default, Approvals uses the working directory to find the working directory and its children to find source file and store received and approved files. This is now configurable if your working directory no longer contains the source. You can do this by setting either the system property or system environment variable called
APPROVALTESTS_PROJECT_DIRECTORY. Here is an example of doing this when running tests with maven on forks:<systemPropertyVariables> <APPROVALTESTS_PROJECT_DIRECTORY>${project.basedir}</APPROVALTESTS_PROJECT_DIRECTORY> </systemPropertyVariables>Reported in #608
Also fixes #612
Add Once object like in Golang
... (truncated)
Commits
3c5a9e4. d updated markdown snippetsee8873e- B Sort map keys by toString if not Comparable5c50f27. e Updated commit scriptddfd476. e Added Windsurf configuration and scripts28d5201. e Added Windsurf configuration and scripts6ee1416- r Bump the jackson group with 3 updates1fdb892- r Bump com.google.code.gson:gson from 2.13.0 to 2.13.135d5a7b. e add all-importantcallto ensure errors are propagated correctlyd6232c4Merge branch 'temp'b49393a. C Release v24.21.0- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
1
+1
-1
Package Dependencies
com.approvaltests:approvaltests
maven
22.3.3 → 24.21.1
Major
Technical Details
| ID: | 1051892 |
| UUID: | 2525477277 |
| Node ID: | PR_kwDOOrY1Ps6Wh7md |
| Host: | GitHub |
| Repository: | LearnWithLlew/TestingBetterWithApprovals.Java |
| Merge State: | Unknown |