Description

If an ensure() fails within an automated test, the test can still show a successful result.

Steps to Reproduce
  1. Create a new custom automated test.
  2. Inside the test, include the following lines of code:
    ensure(false);
    return true;
    
  3. Run the new automated test.

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.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-19579 in the post.

1
Login to Vote

Fixed
ComponentUE - Automation Test
Affects Versions4.8.34.10
Target Fix4.13
Fix Commit2971151
Main Commit2973886
CreatedAug 4, 2015
ResolvedMay 9, 2016
UpdatedApr 27, 2018
View Jira Issue