Commit Graph

45 Commits

Author SHA1 Message Date
JOEL IVEY 3508be4cca Updated MASH*1.5*0 for M-Unit
Updated version of the M-Unit functionality for MUMPS for submission to the Open Source Electronic Health Record Alliance for certification.
2017-07-10 10:17:43 -07:00
JOEL IVEY 7235e4cda8 Merge pull request #6 from lindamry/patch-1
%utt1.m copyedit
2017-05-31 16:32:29 -07:00
Linda Yaw dd0883a064 %utt1.m copyedit
Just editing a few of the comments. No code changes. Not even the sneaky ones. :D 

Linda
2017-04-28 12:25:16 -07:00
JOEL IVEY e343d4cf2a Update for MASH version 1.5.0
This version includes a number of changes
  recognition of Cache system even if computer name begins with digits
  addition of verbosity value to give execution times in fractional milliseconds - in GT.M this requires versions 6.3 and above
  for COV^%ut and COVERAGE^%ut the first argument is now passed by reference and may be used to produce coverage on multiple namespaces, or specify specific routines to be analyzed
  M-Unit no longer depends on the presence of VistA components, and can be run in Cache or GT.M by itself
  If the BREAK (optional third argument for EN^%ut) is true, on breaking the type of error or cause for breaking is specified before the BREAK occurs

Signed-off-by: JOEL IVEY <jivey@jiveysoft.com>
2017-02-12 20:15:29 -08:00
JOEL IVEY eb9f1eb37a Updated files
%ut modified to output error prior to BREAKING if BREAK on error is
selected.
%utcover modified with correction in a comment
2016-07-14 18:02:05 -07:00
JOEL IVEY 67ab46f108 Merge pull request #4 from ChristopherEdwards/remove-VistA-dependency
Add new of U and add code from ZOSF("LOAD") to remove VistA dependency
2016-07-14 17:01:09 -07:00
Christopher Edwards 3b42c69a6d Add new of U and add code from ZOSF("LOAD") to remove VistA dependency
Remove X ^%ZOSF("LOAD") and use the code from VistA to replace the line

Add new of U to COVENTRY and set U to "^" to remove assumed variables
2016-07-01 10:11:20 -04:00
JOEL IVEY 7caa5a9bd1 M-Unit Version 4 (1.4)
Adds listing of times for unit tests to execute with VERBOSE value set
to 2.  Corrects potential problems on Cache in setting global and
routine namespaces for %ut in the current account.  Removes excess
verbiage from GT.M installations.
2016-04-11 15:26:37 -07:00
JOEL IVEY 63ae745e55 Merge pull request #2 from shabiel/master
If verbose = 2, track CPU execution time for each test and display; ZZUTPOST now silent for GT.M
2016-03-22 10:18:09 -07:00
Sam Habiel 3bd53cfddf updated documentation for M-Unit 1.4 2016-02-27 14:13:08 -08:00
Sam Habiel d23518cf99 KIDS build for 1.4 2016-02-27 14:01:27 -08:00
Sam Habiel bd1e639620 Version bump 1.3 -> 1.4 2016-02-27 14:00:15 -08:00
Sam Habiel 3ee0682664 Added EP PREKIDS to copy %ut routines to non-% routines 2016-02-27 13:59:39 -08:00
Sam Habiel 46f71734f0 ZZUTPOST needs a quit before the next tag 2016-02-27 12:36:40 -08:00
Sam Habiel 88501b7db4 Move utVERB check so that RUNSET won't crash 2016-02-27 12:15:01 -08:00
Sam Habiel b586ab9544 Merge branch 'master' of github.com:shabiel/M-Unit
Conflicts:
	Routines/%ut.m
2016-02-25 10:19:29 -08:00
Sam Habiel 1dfc30b421 Remove warnings dealing with GT.M. Should not be interactive. 2015-12-31 22:56:20 -08:00
Sam Habiel b11692b51e Unit Tests for Track CPU execution times and display if VERBOSE = 2 2015-12-31 22:55:50 -08:00
Sam Habiel cb7b40a95b Track CPU execution times and display if VERBOSE = 2 2015-12-31 22:55:14 -08:00
Sam Habiel 2fc732562f Merge branch 'master' of github.com:shabiel/M-Unit
Conflicts:
	Routines/%ut.m
	Routines/ZZUTPOST.m
2015-12-30 15:15:06 -08:00
Sam Habiel 100045907e Add ability to time each test by making verbose = 2 2015-12-30 15:11:59 -08:00
Sam Habiel 23836bfb47 Remove all the GT.M warnings. They not appropriate for a well configured system. 2015-12-30 15:11:29 -08:00
JOEL IVEY 1043d299b0 Update to change version to 1.3
Changed version to 1.3.
2015-12-17 12:46:45 -08:00
JOEL IVEY 7165552a9b Update for a git problem on two routines
Problem with conflicting routines.
2015-12-13 15:58:45 -08:00
JOEL IVEY 1c363a0e62 Merge remote-tracking branch 'origin/master'
Conflicts:
	Routines/%ut1.m
	Routines/%uttcovr.m
2015-12-13 15:46:43 -08:00
JOEL IVEY 68683ac779 Update to provide coverage analysis for Cache
The files were updated to provide coverage analysis for Intersystems
Cache systems as well as GT.M.
2015-12-13 15:43:49 -08:00
Sam Habiel fe9d6bbc1f Merge remote-tracking branch 'origin/master' 2015-11-27 20:26:03 -05:00
JOEL IVEY 62d62c14cc Update for Coverage analysis in Cache
%ut1 and %uttcovr were updated so that coverage analysis could also be
performed in Cache systems as well as in GT.M
2015-11-23 15:45:31 -08:00
JOEL IVEY 22c042f8a1 Updated for change to ZZUTPRE
The PRE-INSTALL routine ZZUTPRE was modified to replace calls which were
marked as DEPRECATED and to be removed in the future, with the
recommended calls to replace those.
2015-10-08 20:01:51 -07:00
JOEL IVEY 1e975cdc3f Added License and Notice files.
Added License and Notice files.
2015-09-21 09:34:38 -07:00
JOEL IVEY e239387637 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.
2015-09-14 13:46:15 -07:00
JOEL IVEY 57879db474 Updated routines for addition of attribution 2015-08-10 15:06:50 -07:00
JOEL IVEY d18821e43e Update for attribution updates to routines
Updated to insure attributition statements were updated in routines.
2015-08-10 14:56:56 -07:00
JOEL IVEY 6c2cc82f01 Updated version of M-Unit for Open Source use.
Updated version of M-Unit for Open Source use.
2015-08-10 12:31:14 -07:00
JOEL IVEY 8fb0b7b4a1 Updates for M-Unit testing functionality
Changes to functionality include:

STARTUP and SHUTDOWN will be run in each routine instead of the first
instance of STARTUP and SHUTDOWN encountered being the only ones that
were run.  This change was made because of possible suites of tests
which have their own STARTUP and SHUTDOWN that need to be run.  Also, it
does not depend on the order in which test routines are run.

While the coverage functionality can only be run on GT.M systems at the
present time, the routine %utcover has been added to provide additional
ability to run a number of unit tests at one time so that coverage
across all of them can be obtained in one run, this includes
the ability to specify entry at different APIs (e.g., if both verbose
and nonverbose entries are available) as well as run code which is not
part of a unit test to include in the analysis.  The routine %uttcovr
uses this functionality to provide a means of doing coverage analysis on
the %ut routines and can be used as an example of its usage.

A new tag (COV) has been added to the %ut routine (it simply calls the
one in %ut1) so that all user APIs can be accessed within the %ut
routine.

A potential problem with setting up the %ut namespace in the local
instance was addressed by Sam Habiel in the preinstall routine ZZUTPRE.
2015-07-03 14:17:15 -07:00
Sam Habiel 172cc4abcc Other components of KIDS build 2015-04-23 11:45:09 -07:00
Sam Habiel 2d3b9d190d Routines with Sam's ZZUTPRE mods; 140923 version 2015-04-23 11:42:28 -07:00
Sam Habiel 1d00d9725e Final set of Joel's 140910 routines 2015-04-23 11:29:43 -07:00
Sam Habiel a7f48dcd3f this fixes the problem where if NS and database have differnt names, install won't crash 2015-03-25 12:05:25 -07:00
JOEL IVEY b431e49cd7 Individual routines %ut*
These are the nine individual routines that are included in the KIDS and
PackMan builds for the M-Unit functionality.
2014-10-07 15:14:56 -07:00
JOEL IVEY 29b113fbc0 Updated Read-Me file. 2014-10-06 14:56:04 -07:00
JOEL IVEY 85e8f3e0fe Technical Article and Documentation for M-Unit
The Technical Article and Documentation files for the M-Unit
functionality as modified for OSEHRA
2014-10-06 14:48:50 -07:00
JOEL IVEY b114f3e809 KIDS and PackMan builds for installing M-Unit
The KIDS and PackMan builds for installing the M-Unit functionality in a
VistA system.
2014-10-06 14:47:11 -07:00
JOEL IVEY b88164c56c M-Unit GUI Source and Application
These zip files contain the source and built application to be used with
the M-Unit functionality created for OSEHRA (the %ut and %ut1 routines)
2014-10-06 14:44:41 -07:00
JOEL IVEY 589d686bdd Initial commit 2014-10-06 14:24:45 -07:00