← Back to team overview

mahara-contributors team mailing list archive

[Bug 1583435] [NEW] Make it easier to run one specific feature file

 

Public bug reported:

Currently if automated tests fail and I want to re-run just one specific
feature file, I have to manually edit the file, add "@debug" to it, and
then tell our mahara_behat.sh script to look for that @debug tag. This
is kind of annoying, and there's a tendency to accidentally leave those
@debug tags there when committing.

There's an easier way! The underlying behat command script,
external/vendor/bin/behat, will accept a filename and only run the tests
under that file. We can adapt our utility script to use that *or* a tag.

** Affects: mahara
     Importance: Wishlist
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Affects: mahara/15.04
     Importance: Wishlist
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Affects: mahara/15.10
     Importance: Wishlist
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Affects: mahara/16.04
     Importance: Wishlist
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Affects: mahara/16.10
     Importance: Wishlist
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress


** Tags: behat

** Also affects: mahara/15.10
   Importance: Undecided
       Status: New

** Also affects: mahara/16.10
   Importance: Wishlist
     Assignee: Aaron Wells (u-aaronw)
       Status: In Progress

** Also affects: mahara/15.04
   Importance: Undecided
       Status: New

** Also affects: mahara/16.04
   Importance: Undecided
       Status: New

** Changed in: mahara/16.04
       Status: New => In Progress

** Changed in: mahara/15.10
       Status: New => In Progress

** Changed in: mahara/15.04
       Status: New => In Progress

** Changed in: mahara/16.04
   Importance: Undecided => Wishlist

** Changed in: mahara/15.10
   Importance: Undecided => Wishlist

** Changed in: mahara/15.04
   Importance: Undecided => Wishlist

** Changed in: mahara/16.04
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Changed in: mahara/15.10
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Changed in: mahara/15.04
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Changed in: mahara/16.04
    Milestone: None => 16.04.1

** Changed in: mahara/15.10
    Milestone: None => 15.10.4

** Changed in: mahara/15.04
    Milestone: None => 15.04.8

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1583435

Title:
  Make it easier to run one specific feature file

Status in Mahara:
  In Progress
Status in Mahara 15.04 series:
  In Progress
Status in Mahara 15.10 series:
  In Progress
Status in Mahara 16.04 series:
  In Progress
Status in Mahara 16.10 series:
  In Progress

Bug description:
  Currently if automated tests fail and I want to re-run just one
  specific feature file, I have to manually edit the file, add "@debug"
  to it, and then tell our mahara_behat.sh script to look for that
  @debug tag. This is kind of annoying, and there's a tendency to
  accidentally leave those @debug tags there when committing.

  There's an easier way! The underlying behat command script,
  external/vendor/bin/behat, will accept a filename and only run the
  tests under that file. We can adapt our utility script to use that
  *or* a tag.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1583435/+subscriptions


Follow ups