View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005558 | CTT UA Scripts | 1 - Script Issue | public | 2020-03-27 13:11 | 2022-10-06 16:09 |
Reporter | Jochen Baier | Assigned To | Yannik Klaass | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.03.501 | ||||
Summary | 0005558: Assert.True() or Assert.False() without a 'message' parameter will not fail a test | ||||
Description | if Assert.True() or Assert.False() is called without the 'message' parameter the function will not call addError(). A test will not fail. for example this test will never fail: var is_equal= 42===43; searching for Assert.True() and Assert.False() in the library folder will return a handful of places where these functions are called without a message text. *if( isDefined( args.ExpectedResults ) ) result = Assert.StatusCodeIs( args.ExpectedResults, args.StatusCode ); *Assert.True( ActivateSessionHelper.Execute( { Session: Test.Session, | ||||
Tags | No tags attached. | ||||
Files Affected | /library/Base/assertions.js | ||||
|
Added standard messages for Assert.True() and Assert.False() and modified all found occurrences of calls without a message parameter to fit the according intention. |
|
Reviewed changes in call, agreed to changes and closed issue |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-03-27 13:11 | Jochen Baier | New Issue | |
2020-04-10 16:05 | Paul Hunkar | Assigned To | => Alexander Allmendinger |
2020-04-10 16:05 | Paul Hunkar | Status | new => assigned |
2022-08-02 20:04 | Paul Hunkar | Project | Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts |
2022-09-07 09:21 | Yannik Klaass | Assigned To | Alexander Allmendinger => Yannik Klaass |
2022-09-07 09:21 | Yannik Klaass | Status | assigned => resolved |
2022-09-07 09:21 | Yannik Klaass | Resolution | open => fixed |
2022-09-07 09:21 | Yannik Klaass | Note Added: 0017535 | |
2022-10-06 16:08 | Paul Hunkar | Files Affected |
=> /library/Base/assertions.js
/library/Information/InfoFactory.js /library/ServiceBased/AttributeServiceSet/HistoryRead/HAStructureHelpers.js /maintree/Attribute Services/Attribute Write Values/Test Cases/005.js /maintree/History/Historical Access Re... |
2022-10-06 16:09 | Paul Hunkar | Status | resolved => closed |
2022-10-06 16:09 | Paul Hunkar | Fixed in Version | => 1.03.501 |
2022-10-06 16:09 | Paul Hunkar | Note Added: 0017967 |