Commit Graph

28 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
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
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
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
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 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 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
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