Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46889

Instead of using @tags to skip tests in certain environments, use skip support

XMLWordPrintable

    • MOODLE_27_STABLE

      At the moment, we use tags like @_bug_phantomjs to skip behat tests which will not run in certain environments.

      This is problematic because it requires the person running the tests to know they need to exclude this tag. See also MDL-43932 where we want to introduce profiles to improve this situation.

      Tim made me aware of MDL-43330 where we have skip support added. Couldn't we instead use a step definition combined with this to skip the tests instead? That way the test runner doesn't need to remember to skip it.

            Unassigned Unassigned
            poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.