IBM Support

PI92987: DISABLED ASSERT ACTION CAN CAUSE A TEST TO WRONGLY PASS

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • If a test ends with 2 Assert actions and the last one is
    disabled, test passes even if the enabled Assert action fails.
    If you move the disabled Assert action above the enabled one,
    the test will fail as expected.
    
    Steps to reproduce:
    
    1.   Create a new test.
    2.   Add a failing Assert action with the following script:
    eq(1, 2)
    3.   Add an Assert after the first one with the following
    script:  eq(2, 2)
    4.   Save and run the test.
    
    Expected result:
    
    The test should fail and shows the Assert action failing in the
    console.
    
    Actual result:
    
    The test passes and shows the Assert action failing in the
    console.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Rational Integration Tester with multiple assert    *
    * actions in a single test.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Rational Integration Tester treats consecutive Assert        *
    * actions as a single group. If an Assert fails, the test      *
    * continues to run until the final assertion in the group was  *
    * performed. If the final Assert in the group was disabled, it *
    * was possible for the test to pass incorrectly.               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Rational Integration Tester 9.2.0 now correctly processes
    multiple assert actions correctly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI92987

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-01-26

  • Closed date

    2018-04-23

  • Last modified date

    2018-04-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL INTEGRA TE

  • Fixed component ID

    5725G79IT

Applicable component levels

  • R800 PSN

       UP

  • R801 PSN

       UP

  • R850 PSN

       UP

  • R851 PSN

       UP

  • R860 PSN

       UP

  • R870 PSN

       UP

  • R871 PSN

       UP

  • R900 PSN

       UP

  • R901 PSN

       UP

  • R910 PSN

       UP

  • R911 PSN

       UP

  • R920 PSY

       UP



Document information

More support for: Rational Test Workbench

Software version: 910

Reference #: PI92987

Modified date: 23 April 2018