Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-324

Support cucumber tags @staging-only @prod-only

    XMLWordPrintable

Details

    • Task
    • Resolution: Resolved
    • Neutral
    • None
    • None
    • None

    Description

      Goal

      Cucumber Tags can be used to filter scenarios to run / not-run depending on ENV, staging or prod.

      Ideas

      Instead of @staging , @prod
      we could do @staging-only , @prod-only

      Developer notes

      Currently we use src/test/resources/junit-platform.properties
      -> this works

      This (in pom) did not work.
      We may try again in pom file - then e.g. having 2 different profiles to run the tests.

      Would be nice to pass via -Doption or ENV param in Jenksinfile

      sources

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              cmeier Christoph Meier
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1d 0.5h
                    1d 0.5h