Skip to content

Releases: approvals/ApprovalTests.LabVIEW

Release 2.5.1

10 Oct 22:05
0e208c3

Choose a tag to compare

  • Added prompt to code that automatically adds approval file to project on creation - prompt disabled if running in unattended mode so it shouldn't impede any uses in CI.

Release 2.5.0

05 Oct 20:14
c536357

Choose a tag to compare

  • 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

04 Oct 03:02
ca6b82b

Choose a tag to compare

  • 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

03 Jul 22:09
3f275fa

Choose a tag to compare

  • 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

01 Jul 16:59
9dc5941

Choose a tag to compare

  • 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

24 Apr 15:26
c6887b7

Choose a tag to compare

  • 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

10 Nov 20:30

Choose a tag to compare

  • 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

17 Oct 18:21

Choose a tag to compare

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

03 Oct 17:15

Choose a tag to compare

  • 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

02 Oct 21:09

Choose a tag to compare

  • Added an experimental feature to set VI Compare options. Needed it to work around some bug in VICompare for a project.