If you're going to run tests automatically, it makes sense to generate reports automatically, too. Of course, JavaStar already does this by creating a log file, but this file contains all the information JavaStar records about the test--probably more information than you want. Using the log control options at the command line, you can manipulate this file during the test run or afterwards.
For this example, you'll filter the log for the test you just ran in the previous exercise.
java javastar -logfilter ST accept.log filtered.log
S
option of -logfilter
specifies summary information, while the T
option includes time stamps.
accept.log
.
accept.log
contains a lot of information--details of the test environments, each event executed, test arguments, and so on--that you might not need for an initial report. The filtered log contains only the summary for each test and the time it executed.
Send feedback to
JavaStar-feedback@suntest.com
Copyright © 1998
Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303.
All rights reserved.