Prior to every official release of NeXtMidas a large suite of integration tests (also called "Release Tests") are performed to verify that the release will run properly on each of the supported system configurations.
This document assumes that the user has a good working knowledge of NeXtMidas, Unix and Windows. The Web Server tests also assume experience in administering an Apache web server.
Test Groups:
The Baseline tests and Applet/WebStart tests (part of the "Web Server Testing") are run on each of the system configurations listed at the top of the NeXtMidas Release Notes. The other tests are run on a limited number of systems since they are not applicable to all platforms.
NMROOT
to point to the copy of NeXtMidas that
was just checked out and set JAVAHOME
to point to the
appropriate version of Java.NMROOT
and JAVAHOME
are set correctly.
Run nmstart
and then build NeXtMidas using
nm make all
.
(Use source $NMROOT/os/unix/nmstart
rather than
nmstart
since some shells may statically define the
nmstart
alias preventing it from pointing to the
correct place even though $NMROOT
has been
changed.)
$ source $NMROOT/os/unix/nmstart
$ nm make all
Run nmstart
and then build NeXtMidas using
nm make all
. Check the output to verify that the
pre-compiled DLL's are being used.
Follow the instructions listed in the "Compile Native Code on Windows Platforms" of the NeXtMidas User's Guide.
nM> CONFIDENCE
nM> CONFIDENCE/BASELINE/WEB=NO
nM> DEMO
nM> SD360 1e9
nM> SD360/SERVER/BG
nM> SD360/CLIENT
LOOKANDFEEL
command is
in the UCL option tree in NeXtMidas 2.0.0).
nM> LOOKANDFEEL JAVA
DEMO
) and Java Swing
applications (HELP/GUI
).
nM> DEMO
nM> HELP/GUI
nM> LOOKANDFEEL
/JSETUP
switch works.
nM> BLD sd360.java MCR SYS
nM> SD360/BG/SERVER/JSETUP
nM> SD360/CLIENT
(This section assumes the web server is a RedHat Linux box running Apache.)
(Text in italics indicates details specific to the alice.techma.com web server, other servers may differ slightly.)
NMROOT
is /home/nextmidas/sandbox/nxmXXX/
(where
XXX
is the version number).
nM> CONFIDENCE/BASELINE/WEB=YES
http://<server>/nxmXXX/
.
$ cd /home/nextmidas/nxm_apache
$ ln -sf ../sandbox/nxmXXX/ nxmXXX
http://<server>/nmroot/
(Skip this step for
beta releases).
$ cd /home/nextmidas/nxm_apache
$ rm current
$ ln -sf nxmXXX current
$NMROOT/htdocs/demo.jnlp
and
$NMROOT/htdocs/shell.jnlp
to point to the correct server.
<?xml version="1.0" encoding="utf-8"?> <jnlp spec="1.0+" href="http://alice.techma.com/nm/htdocs/demo.jnlp" codebase="http://alice.techma.com/nm/jars">Should be (where
<server>
is the fully-qualified
URL of the web server - don't use localhost
):
<?xml version="1.0" encoding="utf-8"?> <jnlp spec="1.0+" href="http://<server>/nxmXXX/htdocs/demo.jnlp" codebase="http://<server>/nxmXXX/jars">
http://<server>/nxmXXX/
http://<server>/nxmXXX/htdocs/nm-demo-page.html
http://<server>/nxmXXX/htdocs/demos.jnlp
(This section assumes the server is running RedHat Linux.)
ssh
with the
-x
(lower-case 'X') switch.nM> CONFIDENCE
SD360
macro in headless mode.
nM> SD360/HEADLESS 1e9
(This section assumes that the system has X-Midas 4.2 installed.)
NMROOT
variable and unset the JAVAHOME
variable (this will prevent X-Midas from using any Java code).
$ setenv NMROOT <path>(Simulates a system without Java or NeXtMidas available.)
$ unsetenv JAVAHOME
nM> HOME TESTWhen prompted to test on X-Midas, enter
nM> %TEST_RMIF
"YES"
and use the
shell that has NMROOT
set and JAVAHOME
unset when prompted to run X-Midas.NMROOT
and
JAVAHOME
.
$ setenv NMROOT <path>(Simulates a system with Java and NeXtMidas available.)
$ setenv JAVAHOME <path>
NMROOT
and JAVAHOME
set.