JavaStar from the Command Line: Running the Acceptance Test
- If you have the JavaStar GUI running, exit JavaStar.
This isn't required--you can run the JavaStar GUI at the same time you run tests from the command line--but, for the purposes of example, it simplifies what you see on screen.
Note - At this point, you should be using the NameDB application in the namedb2
directory. Be sure namedb2
, not namedb1
, is in your CLASSPATH
. You can check your CLASSPATH
setting by typing
java javastar -sysinfo
- In a UNIX shell or at an MSDOS prompt, enter the command to run the acceptance test.
Type:
java javastar -play -gui -jst Acceptance.jst
-log accept.log -testargs "Susan" "45 Sesame St."
"Anytown USA" "555-2857" "susan@susan.com" "none" "test.db"
There are no line breaks in a command line call to JavaStar.
This command:
Action
|
Command Line Flag
|
Runs JavaStar
|
java javastar
|
Goes into Play mode
|
-play
|
Displays the JavaStar GUI
|
-gui
|
Runs the acceptance JST
|
-jst Acceptance.jst
|
Records output to accept.log
|
-log accept.log
|
Sends test arguments for the Susan record
|
-testargs "Susan" "45 Sesame St." "Anytown USA" "555-2857" "susan@susan.com" "none" "test.db"
|
Send feedback to
JavaStar-feedback@suntest.com
Copyright © 1998
Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303.
All rights reserved.