Skip to content

Releases: approvals/ApprovalTests.Java

DateScrubber.AddScrubber

17 Aug 21:10
Compare
Choose a tag to compare

you can now easily add a custom date Scrubber

Fixed JSON array ordering when using JsonApprovals

24 Jul 18:09
dd59587
Compare
Choose a tag to compare

DateScrubber enhancements

19 May 18:08
d23b782
Compare
Choose a tag to compare

new factory methods to get DateScrubbers for sql.Date, util.Date and Timestamp

DateScrubber can handle Timestamp's toString()

Verify Map works with keys that are not comparable

12 May 18:19
Compare
Choose a tag to compare

Added FileUtils.getResolvedPath()

17 Apr 21:49
Compare
Choose a tag to compare

When working with the file ./name.txt:

getAbsolutePath() will resolve this to /path/to/./name.txt

instead of the desired /path/to/name.txt.

getResolvedPath() solves this problem.

Python scripts for remove_abandoned_files and approve_all

10 Apr 21:33
Compare
Choose a tag to compare

Also, temp folder works when running tests in multi-threaded mode

ReadBuffer input no longer modifies newlines or adds them at the end

20 Mar 21:15
Compare
Choose a tag to compare

Also:
Added StringUtils.ensureEnding
Added FileUtils.readFile(file, ensureTrailingNewline = true)

Closes #637

Automatically git-ignore our temp folder

17 Mar 18:03
f951d26
Compare
Choose a tag to compare

Just like ApprovalTests.Python, we now write a .gitignore file into our temp directory, thus consumers of the library don't have to add the folder themselves to their project's gitignore.

Once.runAsync

17 Feb 18:20
0333c12
Compare
Choose a tag to compare

Once now 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

13 Feb 22:40
Compare
Choose a tag to compare