next up previous contents
Next: Organization of Resources Up: Organization of Test Data Previous: Outside Caller   Contents

Organization of Files

Files in the file system can be organized in several ways:

The directory structure may replicate package structure of the class of the test case or package of the test case that needs access to the test data, i.e., to the files. When a test data is organized in such directory structure, Repo framework is to use the information from JVM stack trace to determine information about the ``outside caller.'' An example of such information is the fully qualified class name of the ``outside caller.''

If files are kept together with class files on the class path, they may be accessed both as files and as resources using the same name. Since Java classpath may have JAR files and directories as its entries, the classpath entry where the files are kept must be a directory.