Implementing a multitest POU To implement many related test cases on only one test POU, you can use the pragma {attribute 'test' := 'multitest'} , which decorate a test POU with ETrigA behavior with t
Creating a Model-Based Test with a Test Table The aim of a unit test is usually to determine the correct operation of a function block or program. You can formally implement the required test code as
Implementing a single test POU Creating a framework for the test case A test case is a function block which follows a specific scheme. To make it easier to follow the scheme, we recommend using the wi
Command: Save Test Report Function : The command saves a test report in the test database in the folder which has the same name as the folder of the test script. The test report is also saved in the f
Editor: Test scripts Function : The test script editor provides the implementation of the test run. The top node is always the Test scripts test element. At least one Test case test element is below t
Command: Test Manager Function : The command opens the Test Manager view. The view shows the contents of test repositories which have already been created. You can manage test repositories, but above
Command: Add Folder Function : The command opens the Add Folder dialog for specifying the name of the new folder. Then the new folder is added to the test repository. In the Test Manager view, the new
Action: ExecuteExternalCommand Function : The action starts a process (application, batch script, etc.) outside of CODESYS and captures its output and exit code. Call : System test driver In general,
Controlling Test Case Execution with Categories Categories and their impact You can execute slightly modified tests with customized test scripts and test projects by using categories. To do this, you