Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2302

TDML Runner remembers external variable bindings even on subsequent test suites that don't use them.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • TDML Runner
    • None

    Description

      A schema has two separate TDML test suites.

      The schema has an external variable that has a default value of 2.

      The first TDML test suite binds the variable to 0.

      The second TDML test suite does not bind the variable, but the tests require that the default value of 2 is used.

      Each test suite, run separately works fine.

      When run together the 2nd one fails. It is getting the "0" value that was set for the external variable.

      Even if you ALSO set the external variable in the 2nd test suite, the bug still occurs. Seemingly because the earlier external variable binding is "winning" for some reason.

      The TDML runner needs to reset state of external variables for each test suite.

       

      Attachments

        Activity

          People

            mbeckerle Mike Beckerle
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: