These are chat archives for Behat/Behat

8th
Jan 2017
Brian Young
@cravecode
Jan 08 2017 15:23

I'm trying to set a behat.yml setting via the env variable BEHAT_PARAM. I'm attempting to set the build_number value in the commented out section shown below:

default:
  autoload:
    '': %paths.base%/features/bootstrap
  suites:
    default:
      paths:
        - %paths.base%/features
      contexts:
        - FeatureContext
#        - FeatureContext:
#            build_number: 2
        - Drupal\DrupalExtension\Context\DrupalContext
        - Drupal\DrupalExtension\Context\MinkContext
        - Drupal\DrupalExtension\Context\MessageContext
        - Drupal\DrupalExtension\Context\DrushContext

I've tried {"suites":{"default":{"contexts":{"FeatureContext":{"build_number":"99"}}}} and {"suites":{"default":{"contexts":[{"build_number":"99"}]}}}
Neither work