Skip to content

Commit

Permalink
. B fixed error propagation bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
stagg54 committed Aug 28, 2024
1 parent 723a93a commit 634e5ed
Show file tree
Hide file tree
Showing 41 changed files with 139 additions and 4 deletions.
1 change: 1 addition & 0 deletions Approval Testing.lvproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<Item Name="Scrubber.Tests.lvclass" Type="LVClass" URL="../Tests/Scrubber.Tests/Scrubber.Tests.lvclass"/>
<Item Name="VITester Extension Tests.lvclass" Type="LVClass" URL="../Tests/VITester.Tests/VITester Extension Tests/VITester Extension Tests.lvclass"/>
<Item Name="Basic.Mechanics.Tests.lvclass" Type="LVClass" URL="../Tests/Basic.Mechanics.Tests/Basic.Mechanics.Tests.lvclass"/>
<Item Name="Error.Propagation.Tests.lvclass" Type="LVClass" URL="../Tests/Error.Propagation.Tests/Error.Propagation.Tests.lvclass"/>
</Item>
<Item Name="Approval Tests.lvlib" Type="Library" URL="../Source/Approval Tests/Approval Tests.lvlib"/>
<Item Name="Dependencies" Type="Dependencies">
Expand Down
Binary file modified Source/Approval Tests/Get Paths.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Update Test Name if Not Defined.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Verify Core.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Verify File.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Verify as JSON.vi
Binary file not shown.
6 changes: 3 additions & 3 deletions Tests/Basic.Mechanics.Tests/Basic.Mechanics.Tests.lvclass
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<Item Name="Basic.Mechanics.Tests.ctl" Type="Class Private Data" URL="Basic.Mechanics.Tests.ctl">
<Property Name="NI.LibItem.Scope" Type="Int">2</Property>
</Item>
<Item Name="Test Fails Generate Received Approved stays the same..approved.txt" Type="Document" URL="../../Basic Mechanics Tests/Test Fails Generate Received Approved stays the same..approved.txt"/>
<Item Name="Test Fails Generate Received Approved stays the same..approved.txt" Type="Document" URL="../Test Fails Generate Received Approved stays the same..approved.txt"/>
<Item Name="Test Fails Generate Received Approved stays the same..vi" Type="VI" URL="../Test Fails Generate Received Approved stays the same..vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!"A!!!!!A!%!!!!6!$Q!!Q!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!$!!"Y!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1!"!!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
Expand All @@ -34,7 +34,7 @@
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1074278928</Property>
</Item>
<Item Name="Test Gets Rid of Old Received.approved.txt" Type="Document" URL="../../Basic Mechanics Tests/Test Gets Rid of Old Received.approved.txt"/>
<Item Name="Test Gets Rid of Old Received.approved.txt" Type="Document" URL="../Test Gets Rid of Old Received.approved.txt"/>
<Item Name="Test Gets Rid of Old Received.vi" Type="VI" URL="../Test Gets Rid of Old Received.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!"A!!!!!A!%!!!!6!$Q!!Q!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!$!!"Y!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1!"!!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
Expand All @@ -44,7 +44,7 @@
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1074278928</Property>
</Item>
<Item Name="Test Initial Verify.approved.txt" Type="Document" URL="../../Basic Mechanics Tests/Test Initial Verify.approved.txt"/>
<Item Name="Test Initial Verify.approved.txt" Type="Document" URL="../Test Initial Verify.approved.txt"/>
<Item Name="Test Initial Verify.vi" Type="VI" URL="../Test Initial Verify.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!"A!!!!!A!%!!!!6!$Q!!Q!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!$!!"Y!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1!"!!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified Tests/Caraya.Tests/Caraya Extension Tests/Verify Person.vi
Binary file not shown.
130 changes: 130 additions & 0 deletions Tests/Error.Propagation.Tests/Error.Propagation.Tests.lvclass

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Tests/LUnit.Tests/LUnit Extensions Tests/test Verify Person.vi
Binary file not shown.
Binary file modified Tests/Scrubber.Tests/Verify with 3 Scrubbers.vi
Binary file not shown.
Binary file modified Tests/Scrubber.Tests/Verify with Multi Scrubber.vi
Binary file not shown.
Binary file modified Tests/Scrubber.Tests/Verify with Nested Scrubbers.vi
Binary file not shown.
Binary file not shown.
Binary file modified Tests/Scrubber.Tests/Verify with Regex Scrubber Count Unique.vi
Binary file not shown.
Binary file modified Tests/Scrubber.Tests/Verify with Regex Scrubber not found.vi
Binary file not shown.
Binary file modified Tests/Scrubber.Tests/Verify with Regex Scrubber.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion _build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/bash
VERSION="2.2.2"
VERSION="2.2.3"
rm build/*.vip 2>/dev/null
set -euo pipefail

Expand Down
4 changes: 4 additions & 0 deletions _run_unittests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ SECONDS=0
echo "Running Scrubber Tests"
g-cli caraya -- -s "Tests\\Scrubber.Tests\\Scrubber.Tests.lvclass" -x "reports\\Scrubber.UnitTestReport.xml"
echo "Test Time: $SECONDS"
SECONDS=0
echo "Running Error Propagation Tests"
g-cli caraya -- -s "Tests\\Error.Propagation.Tests\\Error.Propagation.Tests.lvclass" -x "reports\\Error.Propagation.UnitTestReport.xml"
echo "Test Time: $SECONDS"
g-cli vitester -- -r "reports\\VITester.UnitTestReport.xml" "Approval Testing.lvproj"
g-cli lunit -- -r "reports\\LUnit.UnitTestReport.xml" "Approval Testing.lvproj"
# end-snippet

0 comments on commit 634e5ed

Please sign in to comment.