View Issue Details

IDProjectCategoryView StatusLast Update
0008943CTT UA Scripts1 - Script Issuepublic2023-05-19 15:16
ReporterSebastian Allmendinger Assigned ToSebastian Allmendinger  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03.502 
Fixed in Version1.03.503 
Summary0008943: Multiple calls of Test.Include() skip the execution of test scripts
Description

If the library function Test.Include() is called, the next Test.Execute() call will be skipped.
This works fine for loading a Test Script the first time, because the Test.Execute() in this file will be skipped, so that the Test Script that loads it can use the defined functions with its own parameters.
But if another Test Script tries to load the same file, it won't be loaded again and therefore the next Test.Execute() call will be skipped without notice.

Additional Information

Due to this error, in a full test run, the DoS tests for the various SecurityPolicies are currently executed only with the first SecurityPolicy in the list of Conformance Units.

TagsNo tags attached.
Files Affected

/library/Base/safeInvoke.js

Activities

Sebastian Allmendinger

2023-05-19 14:54

developer   ~0019403

The flag, that is used to skip the test script execution, will now always be set to false after including the file. This ensures that the next test will be executed.

Paul Hunkar

2023-05-19 15:16

administrator   ~0019406

reviewed in call, agreed to changes and closed.

Issue History

Date Modified Username Field Change
2023-05-08 10:23 Sebastian Allmendinger New Issue
2023-05-19 14:42 Paul Hunkar Assigned To => Sebastian Allmendinger
2023-05-19 14:42 Paul Hunkar Status new => assigned
2023-05-19 14:51 Sebastian Allmendinger Files Affected => /library/Base/safeInvoke.js
2023-05-19 14:54 Sebastian Allmendinger Status assigned => resolved
2023-05-19 14:54 Sebastian Allmendinger Resolution open => fixed
2023-05-19 14:54 Sebastian Allmendinger Note Added: 0019403
2023-05-19 15:16 Paul Hunkar Status resolved => closed
2023-05-19 15:16 Paul Hunkar Fixed in Version => 1.03.503
2023-05-19 15:16 Paul Hunkar Note Added: 0019406