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 Quality Control <br /> CreateFromList\Test_CreateFromList_InputType=HydroBase, <br /> OutputPeriod,IDCol=1,DataSource=DWR,DataType=DivTotal, <br /> Interval=Month,IfNotFound=Default.TSTool <br /> 37 PASS Warning WARNING C:\Develop\TSTool_SourceBuild\TSTool\test\regression\commands\general\ <br /> CreateFromList\Test_CreateFromList_Legacy.TSTool <br /> 38 PASS Failure FAILURE C:\Develop\TSTool_SourceBuild\TSTool\test\regression\commands\general\ <br /> CreateTraces_Alias\Test_CreateTraces_Legacy_1.TSTool <br /> 251 *FAIL* SUCCESS FAILURE C:\Develop\TSTool_SourceBuild\TSTool\test\regression\commands\general\ <br /> SetWorkingDir\Test_SetWorkingDir_Legacy_Windows_WorkingDir=Temp, <br /> RunMode=GUIAndBatch.TSTool <br /> 252 *FAIL* SUCCESS FAILURE C:\Develop\TSTool_SourceBuild\TSTool\test\regression\commands\general\ <br /> SetWorkingDir\Test_SetWorkingDir_Windows_WorkingDir=Temp, <br /> RunMode=GUIAndBatch.TSTool <br /> 287 PASS SUCCESS SUCCESS C:\Develop\TSTool_SourceBuild\TSTool\test\regression\commands\general\ <br /> WriteTimeSeriesProperty\ <br /> Test_WriteTimeSeriesProperty_PropertyName=DataLimitsOriginal.TSTool <br />#--------------------------------------------------------------------- <br /># FAIL count = 6 <br /># PASS count = 281 <br /> <br />A test passes if its expected status (by default SU CCESS) matches the actual status, and the test fails <br />otherwise. Note that there are cases where a test case is actually intended to fail, in order to test that <br />TSTool is properly detecting and handling the fa ilure (rather than ignoring it or crashing). <br /> <br />The features built into TSTool can therefore be used to efficiently test the software, contributing to <br />increased software quality and efficient software rele ases. See the next section for more information on <br />controlling the test process. <br /> <br />9.3.3 Controlling Tests with Special Comments <br /> <br />The previous two sections described how to define individual test cases and how to automatically create <br />and run a test suite comprised of test cases. However, there are special conditions that will cause the <br />normal testing procedures to fail, in particular: <br /> <br />• tests depend on a database that is not available <br />• tests depend on a database version that is not av ailable (data in the “default” database have <br />changed) <br />• tests can only be run on a certain operating system <br />• tests depend on a specific environment configuration that is not easily reproduced for all users <br /> <br />Any of these conditions can cause a test case to fail, leading to inappropriate errors and wasted time <br />tracking down problems that do not exist. To a ddress this issue, TSTool recognizes special comments <br />that can be included in test case command files. The following table lists tags that can be placed in # <br />comments in command files to provide information for to the <br />CreateRegressionTestCommandFile() command and command processor. The syntax of the <br />special comments is illustrated by the following example: <br /> <br />#@expectedStatus Failure <br /> <br /> Quality Control - 7 123
The URL can be used to link to this page
Your browser does not support the video tag.