← Back to team overview

mahara-contributors team mailing list archive

[Bug 1853066] Re: Allow behat suite to ignore some features

 

A fast way to test the patch is to use the --dry-run behat option

eg: where [path/to/file] is actual path to file

to see count of all feature files
./external/vendor/bin/behat --config [path/to/file]/behat/behat.yml --dry-run --tags @core

to see count of all feature files minus the ones tagged @manual
./external/vendor/bin/behat --config [path/to/file]/behat/behat.yml --dry-run

to see count of all feature files tagged @manual
./external/vendor/bin/behat --config [path/to/file]/behat/behat.yml --dry-run --tags @manual

-- 
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/1853066

Title:
  Allow behat suite to ignore some features

Status in Mahara:
  In Progress

Bug description:
  So that we can run them on local instances but not have jenkins run
  them

  Useful for things like webservice connection testing or elasticsearch
  integration

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


References