Updated Package
Updated 3rd line of routines (previously 4th line) to indicate submission to OSEHRA and to show information about license. Added comments to Manual text concerning: 1) use of NMSPU as unit test namespace instead of ZZUT as well as including unit tests in distributions; 2) need for rapid running unit tests and identifying and fixing slow tests.
This commit is contained in:
parent
57879db474
commit
e239387637
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,6 @@
|
||||||
%ut ;VEN-SMH/JLI - PRIMARY PROGRAM FOR M-UNIT TESTING ;08/10/15 14:31
|
%ut ;VEN-SMH/JLI - PRIMARY PROGRAM FOR M-UNIT TESTING ;09/14/15 09:38
|
||||||
;;0.2;MASH UTILITIES;;;Build 7
|
;;0.2;MASH UTILITIES;;;Build 7
|
||||||
;
|
; Submitted to OSEHRA Sep 14, 2015 by Joel L. Ivey under the Apache 2 license (http://www.apache.org/licenses/LICENSE-2.0.html)
|
||||||
; Submitted to OSEHRA 08/10/2015 by Joel L. Ivey
|
|
||||||
; Original routine authored by Joel L. Ivey as XTMUNIT while working for U.S. Department of Veterans Affairs 2003-2012
|
; Original routine authored by Joel L. Ivey as XTMUNIT while working for U.S. Department of Veterans Affairs 2003-2012
|
||||||
; Includes addition of %utVERB and %utBREAK arguments and code related to them as well as other substantial additions authored by Sam Habiel 07/2013?04/2014
|
; Includes addition of %utVERB and %utBREAK arguments and code related to them as well as other substantial additions authored by Sam Habiel 07/2013?04/2014
|
||||||
;
|
;
|
||||||
|
@ -413,5 +412,6 @@ GUINEXT(%utRSLT,%utLOC,XTGUISEP) ; Entry point for GUI execute next test - calle
|
||||||
. D @("TEARDOWN^"_%utROUT)
|
. D @("TEARDOWN^"_%utROUT)
|
||||||
. Q
|
. Q
|
||||||
S @%ut("RSLT")@(1)=%ut("CHK")_XTGUISEP_(%ut("CNT")-1-%utERR)_XTGUISEP_%utERR
|
S @%ut("RSLT")@(1)=%ut("CHK")_XTGUISEP_(%ut("CNT")-1-%utERR)_XTGUISEP_%utERR
|
||||||
|
K ^TMP("%ut",$J,"UTVALS")
|
||||||
Q
|
Q
|
||||||
;
|
;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
%ut1 ;VEN/SMH/JLI - CONTINUATION OF M-UNIT PROCESSING ;08/10/15 14:32
|
%ut1 ;VEN/SMH/JLI - CONTINUATION OF M-UNIT PROCESSING ;09/14/15 09:37
|
||||||
;;0.2;MASH UTILITIES;;;Build 7
|
;;0.2;MASH UTILITIES;;Sep 14, 2015;Build 7
|
||||||
;
|
; Submitted to OSEHRA Sep 14, 2015 by Joel L. Ivey under the Apache 2 license (http://www.apache.org/licenses/LICENSE-2.0.html)
|
||||||
; Submitted to OSEHRA 08/10/2015 by Joel L. Ivey
|
|
||||||
; Original routine authored by Joel L. Ivey as XTMUNIT1 while working for U.S. Department of Veterans Affairs 2003-2012
|
; Original routine authored by Joel L. Ivey as XTMUNIT1 while working for U.S. Department of Veterans Affairs 2003-2012
|
||||||
; Includes addition of original COV entry and code related coverage analysis as well as other substantial additions authored by Sam Habiel 07/2013?04/2014
|
; Includes addition of original COV entry and code related coverage analysis as well as other substantial additions authored by Sam Habiel 07/2013?04/2014
|
||||||
; Additions and modifications made by Joel L. Ivey 05/2014-08/2015
|
; Additions and modifications made by Joel L. Ivey 05/2014-08/2015
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
%utcover ;JLI - generic coverage and unit test runner ;08/10/15 14:32
|
%utcover ;JLI - generic coverage and unit test runner ;09/14/15 09:37
|
||||||
;;0.2;MASH UTILITIES;;
|
;;0.2;MASH UTILITIES;;Sep 14, 2015
|
||||||
;
|
; Submitted to OSEHRA Sep 14, 2015 by Joel L. Ivey under the Apache 2 license (http://www.apache.org/licenses/LICENSE-2.0.html)
|
||||||
; Submitted to OSEHRA 08/10/2015 by Joel L. Ivey
|
|
||||||
; Original routine authored by Joel L. Ivey
|
; Original routine authored by Joel L. Ivey
|
||||||
;
|
;
|
||||||
D EN^%ut("%uttcovr") ; unit tests
|
D EN^%ut("%uttcovr") ; unit tests
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
%utt1 ; VEN/SMH-JLI - Testing routines for M-Unit;08/10/15 14:32
|
%utt1 ; VEN/SMH-JLI - Testing routines for M-Unit;09/14/15 09:38
|
||||||
;;0.2;MASH UTILITIES;;;Build 7
|
;;0.2;MASH UTILITIES;;Sep 14, 2015;Build 7
|
||||||
;
|
; Submitted to OSEHRA Sep 14, 2015 by Joel L. Ivey under the Apache 2 license (http://www.apache.org/licenses/LICENSE-2.0.html)
|
||||||
; Submitted to OSEHRA 08/10/2015 by Joel L. Ivey
|
|
||||||
; Original routine authored by Sam H. Habiel 07/2013?04/2014
|
; Original routine authored by Sam H. Habiel 07/2013?04/2014
|
||||||
; Additions and modifications made by Joel L. Ivey 05/2014-08/2015
|
; Additions and modifications made by Joel L. Ivey 05/2014-08/2015
|
||||||
;
|
;
|
||||||
|
@ -102,8 +101,6 @@ T7 ; Make sure we write to principal even though we are on another device
|
||||||
; Now open back the file, and read the hello, but open in read only so
|
; Now open back the file, and read the hello, but open in read only so
|
||||||
; M-Unit will error out if it will write something out there.
|
; M-Unit will error out if it will write something out there.
|
||||||
;
|
;
|
||||||
; Per VISTA conventions, current IO device should be IO, old is IO(0).
|
|
||||||
;
|
|
||||||
I +$SY=0 O D:"R"
|
I +$SY=0 O D:"R"
|
||||||
I +$SY=47 O D:(readonly)
|
I +$SY=47 O D:(readonly)
|
||||||
U D
|
U D
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
%utt2 ; VEN/SMH - Bad Ass Continuation of Unit Tests;08/10/15 14:29
|
%utt2 ; VEN/SMH - Bad Ass Continuation of Unit Tests;09/14/15 09:38
|
||||||
;;0.2;MASH UTILITIES;;;Build 7
|
;;0.2;MASH UTILITIES;;Sep 14, 2015;Build 7
|
||||||
;
|
; Submitted to OSEHRA Sep 14, 2015 by Joel L. Ivey under the Apache 2 license (http://www.apache.org/licenses/LICENSE-2.0.html)
|
||||||
; Submitted to OSEHRA 08/10/2015 by Joel L. Ivey
|
|
||||||
; Original routine authored by Sam H. Habiel
|
; Original routine authored by Sam H. Habiel
|
||||||
; Modifications made by Joel L. Ivey 05/2014-08/2015
|
; Modifications made by Joel L. Ivey 05/2014-08/2015
|
||||||
;
|
;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
%utt3 ; VEN/SMH-JLI - Unit Tests Coverage Tests;08/10/15 14:29
|
%utt3 ; VEN/SMH-JLI - Unit Tests Coverage Tests;09/14/15 09:38
|
||||||
;;0.2;MASH UTILITIES;;;Build 7
|
;;0.2;MASH UTILITIES;;Sep 14, 2015;Build 7
|
||||||
;
|
; Submitted to OSEHRA Sep 14, 2015 by Joel L. Ivey under the Apache 2 license (http://www.apache.org/licenses/LICENSE-2.0.html)
|
||||||
; Submitted to OSEHRA 08/10/2015 by Joel L. Ivey
|
|
||||||
; Original routine authored by Sam H. Habiel 07/2013?04/2014
|
; Original routine authored by Sam H. Habiel 07/2013?04/2014
|
||||||
; Additions and modifications made by Joel L. Ivey 05/2014-08/2015
|
; Additions and modifications made by Joel L. Ivey 05/2014-08/2015
|
||||||
;
|
;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
%utt4 ; VEN/SMH/JLI - Coverage Test Runner;08/10/15 14:30
|
%utt4 ; VEN/SMH/JLI - Coverage Test Runner;09/14/15 09:38
|
||||||
;;0.2;MASH UTILITIES;;;Build 7
|
;;0.2;MASH UTILITIES;;Sep 14, 2015;Build 7
|
||||||
;
|
; Submitted to OSEHRA Sep 14, 2015 by Joel L. Ivey under the Apache 2 license (http://www.apache.org/licenses/LICENSE-2.0.html)
|
||||||
; Submitted to OSEHRA 08/10/2015 by Joel L. Ivey
|
|
||||||
; Original routine authored by Sam H. Habiel 07/2013?04/2014
|
; Original routine authored by Sam H. Habiel 07/2013?04/2014
|
||||||
; Additions and modifications made by Joel L. Ivey 05/2014-08/2015
|
; Additions and modifications made by Joel L. Ivey 05/2014-08/2015
|
||||||
;
|
;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
%utt5 ;JLI - test for aspects of MUnit functionality ;08/10/15 14:30
|
%utt5 ;JLI - test for aspects of MUnit functionality ;09/14/15 09:38
|
||||||
;;0.2;MASH UTILITIES;;;Build 7
|
;;0.2;MASH UTILITIES;;Sep 14, 2015;Build 7
|
||||||
;
|
; Submitted to OSEHRA Sep 14, 2015 by Joel L. Ivey under the Apache 2 license (http://www.apache.org/licenses/LICENSE-2.0.html)
|
||||||
; Submitted to OSEHRA 08/10/2015 by Joel L. Ivey
|
|
||||||
; Original routine authored by Joel L. Ivey
|
; Original routine authored by Joel L. Ivey
|
||||||
;
|
;
|
||||||
Q
|
Q
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
%utt6 ;JLI - Unit tests for MUnit functionality ;08/10/15 14:30
|
%utt6 ;JLI - Unit tests for MUnit functionality ;09/14/15 09:38
|
||||||
;;0.2;MASH UTILITIES;;;Build 7
|
;;0.2;MASH UTILITIES;;Sep 14, 2015;Build 7
|
||||||
;
|
; Submitted to OSEHRA Sep 14, 2015 by Joel L. Ivey under the Apache 2 license (http://www.apache.org/licenses/LICENSE-2.0.html)
|
||||||
; Submitted to OSEHRA 08/10/2015 by Joel L. Ivey
|
|
||||||
; Original routine authored by Joel L. Ivey 05/2014-08/2015
|
; Original routine authored by Joel L. Ivey 05/2014-08/2015
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
%uttcovr ;JIVEYSOFT/JLI - runs coverage tests on %ut and %ut1 routines via unit tests ;08/10/15 14:31
|
%uttcovr ;JIVEYSOFT/JLI - runs coverage tests on %ut and %ut1 routines via unit tests ;09/14/15 09:35
|
||||||
;;0.2;MASH UTILITIES;;;Build 7
|
;;0.2;MASH UTILITIES;;Sep 14, 2015;Build 7
|
||||||
;
|
; Submitted to OSEHRA Sep 14, 2015 by Joel L. Ivey under the Apache 2 license (http://www.apache.org/licenses/LICENSE-2.0.html)
|
||||||
; Submitted to OSEHRA 08/10/2015 by Joel L. Ivey
|
|
||||||
; Original routine authored by Joel L. Ivey
|
; Original routine authored by Joel L. Ivey
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
%utPOST ;VEN-SMH/JLI - post install for M-Unit Test software ;08/10/15 14:34
|
%utPOST ;VEN-SMH/JLI - post install for M-Unit Test software ;09/14/15 12:39
|
||||||
;;0.2;MASH UTILITIES;;;Build 7
|
;;0.2;MASH UTILITIES;;;Build 7
|
||||||
;
|
; Submitted to OSEHRA Sep 14, 2015 by Joel L. Ivey under the Apache 2 license (http://www.apache.org/licenses/LICENSE-2.0.html)
|
||||||
; Submitted to OSEHRA 08/10/2015 by Joel L. Ivey
|
; Original routine authored by Sam H. Habiel 07/2013-04/2014
|
||||||
; Original routine authored by Sam H. Habiel 07/2013?04/2014
|
|
||||||
; Additions and modifications made by Joel L. Ivey 05/2014-08/2015
|
; Additions and modifications made by Joel L. Ivey 05/2014-08/2015
|
||||||
;
|
;
|
||||||
N X,I
|
N X,I
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
%utPRE ;VEN/SMH/JLI - pre installation routine to set up MASH UTILITIES package and assign %ut routines and globals ;08/10/15 14:35
|
%utPRE ;VEN/SMH/JLI - pre installation routine to set up MASH UTILITIES package and assign %ut routines and globals ;09/14/15 12:39
|
||||||
;;0.2;MASH UTILITIES;;;Build 7
|
;;0.2;MASH UTILITIES;;;Build 7
|
||||||
;
|
; Submitted to OSEHRA Sep 14, 2015 by Joel L. Ivey under the Apache 2 license (http://www.apache.org/licenses/LICENSE-2.0.html)
|
||||||
; Submitted to OSEHRA 08/10/2015 by Joel L. Ivey
|
|
||||||
; Original routine authored by Sam H. Habiel 07/2013?04/2014
|
; Original routine authored by Sam H. Habiel 07/2013?04/2014
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue