I'm trying to figure out how to layout my directories for "production" test runs.
I have several tests and test suites. Some common units used by almost all test. Testdata (including xls files to drive the tests, gold files, & test inputdata.) And I need someplace to store the results.
I'm setting up the tests so they can be run under TestExecute via a command line. We'll be uisng TCLogViewer or a web browser to view the results.
Anyway, and suggestions on how to setup the environment to make things easier to run on a regular basis?
Any suggestions or examples of how others are doing it would be appreciated.
To run a test with TestExecute you only need to know the path to the project suite file. The other information will be retrieved by TestExecute from this file and other project files automatically.
However, if you want to have a directory structure that can be easily moved to another computer/location, you can store the files more structurally. For example, you can create a root folder for your tests, put all the common units and files into a separate subfolder of this root folder and put all project suites into the root folder as well:
You can then create a new environment variable (e.g. 'TCTests') and assign the path to the tests root folder to this variable. This will allow you to run your tests using the same command regardless of where your projects are located. For example:
I suggest that your files be as close to the root as possible. One issue that you will need to consider if you are going to use TestExecute is that the TestExecute.Exe be in your path. Or, you should load the test within a batch file that moves to the proper directory.