If an ensure() fails within an automated test, the test can still show a successful result.
ensure(false); return true;
RESULT:
The ensure will fail and generate a callstack in the log, but the test will be marked as successful.
EXPECTED:
The ensure fails and the test is marked as having failed.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-19579 in the post.
| 1 |
| Component | UE - Automation Test |
|---|---|
| Affects Versions | 4.8.3, 4.10 |
| Target Fix | 4.13 |
| Fix Commit | 2971151 |
|---|---|
| Main Commit | 2973886 |
| Created | Aug 4, 2015 |
|---|---|
| Resolved | May 9, 2016 |
| Updated | Apr 27, 2018 |