Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1330

[Test Scenario Editor] Wrong test result status if rules have not been fired

    XMLWordPrintable

Details

    • Release Notes
    • CR1
    • +
    • Hide
      1. Import MySpace_List.zip project
      2. Open Test scenario "ErrorMessageTest" and run it
        Expect :
        1. Test Run status is FAILED
        2. EXPECT section cell marked as red and error popup contains message that instance on this condition was not found. See: example
        Actual: 0% coverage test is passing
      Show
      Import MySpace_List.zip project Open Test scenario "ErrorMessageTest" and run it Expect : 1. Test Run status is FAILED 2. EXPECT section cell marked as red and error popup contains message that instance on this condition was not found. See: example Actual: 0% coverage test is passing
    • 2020 Week 16-18 (from Apr 13)

    Description

      Defect: If user create a list - typed fact and puts it to the Test Scenario test passes but coverage is 0.

      This feature implemented other way in legacy test scenario.

      Root case :
      We removed initialization of the list by default .
      Previously when you have been adding a fact to legacy test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
      Now If you add a list fact you are free to left it empty or initialize it with at least one element.

      In that case if there was no rules fired we need to show a warning and mark the test as FAILED.

      Workaround: put in GIVEN section for the list at least one empty element

      Attachments

        Issue Links

          Activity

            People

              yamer@redhat.com Yeser Amer
              trikkola Toni Rikkola
              Anna Dupliak Anna Dupliak
              Anna Dupliak Anna Dupliak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: