Approvals.Approve() => Approvals.Verify()
I finally got around to fixing an early mistake in my naming convention. Approvals.Approve() is now deprecated, and Approvals.Verify() is the new way to verify your result.Mac OsX Diff Reporter Support
To help support my friends on the Mac Side, I have added a whole bunch of reporters for them. Including:- DiffMergeReporter
- KaleidoscopeDiffReporter
- TkDiffReporter
Machine Dependent Testing
If you have multiple environments, which render things differently, you can now use the line NamerFactory.asMachineSpecificTest(new OsEnvironmentLabeller());
Which will add the machine OS as part of the approved & received file name.
For Example: ClassName.MethodName.Mac_OS_X.approved.txt
This will allow you different Golden Masters for different Environments.
No comments:
Post a Comment