Script Testing Concepts
...
You can use any Subversion client to download the files. You'll need your NDC credentials to access the server. When you check out the system, you'll see several directories worth of files. Here's a brief overview:
test/ bin/ ...misc MATLAB folders... gmattest.m # The main test system script rundef.m # The run definition file (see below) setup.m # Run this before gmattest.m to set up path info # (or add to your startup.m) ...other .m files... # Old or developmental scripts; ignore doc/ ...developer documentation... reqs/ # This is where your test matrices will go extern/ Commands/ FRC-1_Optimize/ # These folders will contain the scripts used to # generate your truth data (such as STK/Connect # scripts) ...other FRC folders... Resources/ FRR-1_SpacecraftOrbitState/ # same as above ...other FRR folders... input/ Commands/ FRC-1_Optimize/ scripts/ # .tc files and .script files truth/ # .truth files (truth data) ...other FRC folders... Resources/ FRR-1_SpacecraftOrbitState/ # same as above ...other FRR folders... output/ # This is where the output files, log files, and results # are stored. They are divided by the build specifier # (see the Run Definition section) and then by the # Commands/Resources structure like the extern and input # folders.
...
Code Block |
---|
RunDef.Build = 'NightlyBuild'; RunDef.GmatExe = 'c:\PATHTOYOURBINDIRECTORY\GMAT.exe'; RunDef.Modes = {'script'}; RunDef.Comparisons = {'truth'}; RunDef.Reporters = {'ScreenReporter'}; RunDef.Cases = {'STM_GMAT_PD45'}; RunDef.Folders = {'FRR-13_DynamicsModels'}; RunDef.FilterMode = 'and'; RunDef.Requirements = {} RunDef.Categories = {} |
Advanced Configuration for Runnning Alpha/Internal/Underdevelopment Tests
The test system supports options that allow exclusion of plugins, old or under development tests among others.
...