Adding Parameters for Flexibility


This chapter shows you how to use JavaStar to pass arguments within modular tests to increase flexibility and re-use.

Breaking tests down into modules is the first step in making your tests reusable. The second step is replacing hard-coded information--for example, field data and component labels--with parameters. When you do this, you can create fewer modules that can be combined to make more varied tests.

This lesson guides you through the process of modifying the tests you created in the last chapter to use parameters. After following this lesson, you should know how to:

Topics:




Send feedback to JavaStar-feedback@suntest.com
Copyright © 1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303. All rights reserved.