My WebLink
|
Help
|
About
|
Sign Out
Search
TSTool_UserManual_10-21-00
CWCB
>
Decision Support Systems
>
DayForward
>
TSTool_UserManual_10-21-00
Metadata
Thumbnails
Annotations
Entry Properties
Last modified
8/28/2013 2:08:13 PM
Creation date
8/28/2013 2:02:12 PM
Metadata
Fields
Template:
Decision Support Systems
Title
TSTool User's Manual - 10.21.00
Description
User's Manual for version 10.21.00
Decision Support - Doc Type
Software Documentation
Date
7/14/2013
DSS Category
DMI Utilities
Contract/PO #
C153966A
Prepared By
Riverside Technology, Inc.
Jump to thumbnail
< previous set
next set >
There are no annotations on this page.
Document management portal powered by Laserfiche WebLink 9 © 1998-2015
Laserfiche.
All rights reserved.
/
242
PDF
Print
Pages to print
Enter page numbers and/or page ranges separated by commas. For example, 1,3,5-12.
After downloading, print the document using a PDF reader (e.g. Adobe Reader).
Download electronic document
Show annotations
View images
View plain text
TSTool Documentation Commands <br /> Commands - 15 <br /> <br />The command processor uses properties to manage controlling information. These properties can be set <br />with commands to facilitate overall workflow logi c, for example to allow configuration information to be <br />defined at the start of a command file, and be used by other commands. TSTool commands will continue <br />to be enhanced to utilize these properties. <br /> <br />The RunCommands() command can be used to create a “ma ster” command file that runs other <br />command files. This approach is used to create test suites to validate the TSTool software. Commands <br />also are available to run external programs, Python scripts, and the Army Corps of Engineers DSSUTL <br />software, which pr ovides time series processing capabilities. <br /> <br />4.2 1 General Commands – Test Processing <br /> <br />The Commands…General – Test Processing menu provides choices to insert commands related to <br />software and process testing. A test case can be a simple test (e.g., test of a single command with a <br />specific combination of parameters) or a more complex test (e.g., a test of a command file used to process <br />a data set file). T he CreateRegressionTestCommandFile() can be used to search a folder and <br />sub -folders for command files mat ching a pattern (e.g., Test_*.TSTool ). This will create a master <br />command file that includes RunCommands() commands. These commands are used by software <br />developers to create test suites to verify TSTool software functionality and can also be used by softw are <br />users to verify that a process is certified and gives expected results . Comparing the results from a specific <br />software version with expected results is useful for diagnos ing errors . <br /> <br /> Menu_Commands_General _Testing <br />Commands…General – Test Processing M enu <br /> <br />The following is an example command file to run the CreateRegressionTestCommandFile() <br />command: <br /> <br /># <br /># Create the regression test runner for the <br /># TSTool/test/regression/TestSuites/commands_general files. <br /># <br /># Only command files that match Test_*.TSTool a re included in the output. <br /># Don't append the generated commands, in order to force the old file to be <br /># overwritten. <br /># <br />CreateRegressionTestCommandFile(SearchFolder="..\..\..\commands \general", <br />OutputFile="..\run \RunRegressionTest_commands_general.TSTool",Append=False) <br /> <br /> <br />The following command file is generated from the above and can be run to execute the individual tests. <br />Typically each test uses the CompareTimeSeries() or CompareFiles() command to generate a <br />warning if results are not as expected. <br /> <br />69
The URL can be used to link to this page
Your browser does not support the video tag.