Releases: approvals/ApprovalTests.LabVIEW
Releases · approvals/ApprovalTests.LabVIEW
Release 2.5.1
Release 2.5.0
- Added the ability to add your own comparator - this what determines what counts as equal when evaluating the received and approved data. For use case see next bullet.
- Added a comparator for JSON that checks the content of the JSON and ignores any formatting like extra whitespace or pretty printing.
- Added code to "Verify as JSON" so it defaults to the JSON Comparator. This means that the comparison ignores formatting and pretty printing.
Release 2.4.0
- Added ability to specify approval file. Useful if several tests should all produce the same results. As an example I added this feature for blue because I wanted to support long and short cli options. -l and --list should both produce the samething. I didn't want to have to maintain separate approval files for each test and run the risk that perhaps they would diverge and I wouldn't notice.
- Also added a decorator to allow for combining a folder and shared approval files.
Release 2.3.2
- Updated Pallettes to add Namer with Folder to Options Pallette
- Added code to Namer with Folder to create Folder if it does not exist.
Release 2.3.1
- Added a new Namer, Namer with Folder, to put approved files into a separate folder. You can set it in the Options Class. By default it puts the approval files (.recieved. and .approved.) into an Approvals subdirectory. You can optionally specify any relative path. The path is relative to the path of the test VI. Currently does not suport absolute paths. I may add that in the future if there is demand.
Release 2.3.0
- Added a Default Diff Reporter built in LabVIEW supplied by Anton Sundqvist - thank you Anton! This means that you no longer need to install WInMerge or Beyond Compare to view the diffs. I still recommend BeyondCompare though since it is a very nice tool.
- Added code to the reporter interface to check if in Unattended Mode and report nothing in that case, since presumably that means you are running as part of CI pipeline and you don't want to hang the machine.
Release 2.2.10
- Added individual verifies for extension to pallettes under an advanced subpallette. This is in addition to the existing New Verify ... Merge VIs. I added so that now you can drop them individually or using Quick Drop.
Release 2.2.9
2 Minor Dev Improvements
- Fixed string produced by verify when test fails to remove an extra space
- Removed error in on LUnit Extension merge VIs in the pallettes. Not needed for LUnit.
Improvements came from a merge request from Anton Sundqvist
Release 2.2.8
- Added lib_ prefix to installed LUnit Extension library to avoid crosslinking issues. Was doing it for other extensions. Somehow I missed this one.
Release 2.2.7
- Added an experimental feature to set VI Compare options. Needed it to work around some bug in VICompare for a project.