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

Improve --run-with-theme option to set core features for specific theme

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Initialize behat with following options:
        option Expected in behat.yml
        No option There is no feature in more suite and snap suite contain features in theme/snap/tests/behat/*
        --add-core-features-to-theme=all core features are included in more theme and snap theme
        --add-core-features-to-theme core features are included in more theme and snap theme
        -a core features are included in more theme and snap theme
        -a="boost, more" core features are only included in both boost and more theme
        -a=more core features are only included in more suite
        -a=boost core features are only included in boost theme
      Show
      Initialize behat with following options: option Expected in behat.yml No option There is no feature in more suite and snap suite contain features in theme/snap/tests/behat/* --add-core-features-to-theme=all core features are included in more theme and snap theme --add-core-features-to-theme core features are included in more theme and snap theme -a core features are included in more theme and snap theme -a="boost, more" core features are only included in both boost and more theme -a=more core features are only included in more suite -a=boost core features are only included in boost theme
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      wip-mdl-55924

      Description

      Currently --run-with-theme option seems to be incomplete, as it doesn't accept any option while initialisation. It will be nice to:

      1. Allow user to pass value for --run-with-theme, so core features are only set for specified theme. Would be ideal to allow comma separated multiple theme.
      2. Also, this option seems misleading while initialisation, it would be nice to replace it with --add-core-features-to

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rajeshtaneja Rajesh Taneja
              Reporter:
              rajeshtaneja Rajesh Taneja
              Peer reviewer:
              Simey Lameze
              Integrator:
              Dan Poltawski
              Tester:
              Jake Dallimore
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Dec/16