Currently supported is: INSTRUMENTONLY:boolean When set, run instrumentation only and return. TraceOptions – (optional) default “” A key:value pair list of additional tracing options. The experiment is required to be saved somewhere on the disk. When REGEXP was set in traceOptions then traceWinList is also interpreted as a regular expression. The universal testing framework saves a RTF document for each traced procedure file. TraceWinList – (optional) default “” A list of windows where execution gets traced. The temporary data folder wherein each test case is executed is not removed at the end of the test case. This will enable the debugger with Debug On Error and debugging on failed assertion. RunTest(., debugMode = IUTF_DEBUG_ON_ERROR | IUTF_DEBUG_FAILED_ASSERTION) The input for test suites (procWinList) and test cases (testCase) is treated as a regular expression. (it is okay to have unsaved changes.)Ī TAP compatible file is written at the end of the test run. It allows the combination of this framework with continuous integration servers like Atlassian Bamboo/GitLab/etc. (optional) default disabled, enabled when set to 1:Ī JUNIT compatible XML file is written at the end of the Test Run. This parameter can be treated as a regular expression with enableRegExp set to 1. (optional) default “.*” (all test cases in the list of test suites)įunction names, resembling test cases, which should be executed in the given list of test suites (procWinList). This can be used to group multiple test suites into a single test run. This parameter can be given as a regular expression with enableRegExp set to 1.ĭescriptive name for the executed test suites. The procedure name must not include Independent Module specifications. The list should be given semicolon (“ ”) separated. ParametersĪ list of procedure files that should be treated as test suites. This command will run the test suites proc0 and proc1 in a test named myTest. You can abort the test run using Command-dot on Macintosh, Ctrl+Break on Windows or Shift+Escape on all platforms. Main function to execute test suites with the universal testing framework. Function definition of RunTest ¶ variable RunTest ( string procWinList, string name = defaultValue, string testCase = defaultValue, variable enableJU = defaultValue, variable enableTAP = defaultValue, variable enableRegExp = defaultValue, variable allowDebug = defaultValue, variable debugMode = defaultValue, variable keepDataFolder = defaultValue, string traceWinList = defaultValue, string traceOptions = defaultValue, variable fixLogName = defaultValue, variable waveTrackingMode = defaultValue, variable retry = defaultValue, variable retryMaxCount = defaultValue ) ¶ Test Run ¶Ī Test Run is executed using RunTest() with only a single mandatory You can group multiple test suites in a named test environmentīy using the optional parameter name of RunTest().įor a list of all objects see Index or use the Search Page. Assertions are grouped into single test cases and test casesĪ test suite is a group of test cases that live in a single SeeĪssertion Types for a clarification of the difference between the threeĪssertion types. Assertions are used for checking if a condition is true. The basic building blocks of this Igor Pro Universal Testing Framework areĪssertions. Testing package consists of three basic structural elements: ![]() Following this naming scheme, the universal The interface design and naming is inspired by the Boost Test Library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |