Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-7268

[Visual Testing] Split single Scenario into multiple tests

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 4.5.x-dev, 4.6.x-dev
    • QA
    • None

    Description

      Our current Visual Testing solution is built on top of Behat and does not take full advatnage of Behat features - because it's not fully integrated with it.

      The biggest obstacle is that Behat views our Tests as a single Scenario:

      1 scenario (1 failed)
      1 step (1 failed)
      2m17.79s (88.78Mb)
      

      and is not aware that there are multiple tests running inside it.

      Hooking into Behat test process would allow us to use more Behat features, most importantly:
      1) use Behat result reporting
      2) take failed screenshots after every failure

      Approach:
      it might be possible to write a custom Specification Locator (https://github.com/Behat/Behat/tree/master/src/Behat/Behat/Gherkin/Specification/Locator) that loads our current test definitions

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              marek.nocon@ibexa.co Marek NocoĊ„
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: