2017 © Pedro Peláez
 

library behat-say-extension

Hear your Behat steps through the 'say' command.

image

fauxalgore/behat-say-extension

Hear your Behat steps through the 'say' command.

  • Monday, April 24, 2017
  • by fauxalgore
  • Repository
  • 1 Watchers
  • 3 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 5 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

BehatSay

CircleCI, (*1)

This Behat Extension uses the say command to speak aloud your Behat steps as they run., (*2)

Configuring

This extension takes configuration for a default voice. Voices can also vary based on the (Drupal) user role. Enable the extension by adding the following to your behat.yml file., (*3)

    FauxAlGore\BehatSayExtension:
      default_voice: Fiona
      roles:
        administrator: Pipe Organ
        content_administrator: Alex

Adapt the configuration to use whichever say voices you prefer. To see a list of all available voices run say --voice=\?, (*4)

Benefits

By speaking your Behat commands aloud, this extension highlights poorly constructed Behat steps. Behavior Driven Development encourages using domain-specific language. If your steps are written around CSS selectors, they will sound absurd., (*5)

Additionally, varying voices by user role will encourage deeper consideration of the role used for a given scenario., (*6)

The Versions

24/04 2017

dev-master

9999999-dev

Hear your Behat steps through the 'say' command.

  Sources   Download

The Requires

 

The Development Requires

by Faux Al Gore

24/04 2017

0.0.1

0.0.1.0

Hear your Behat steps through the 'say' command.

  Sources   Download

The Requires

 

The Development Requires

by Faux Al Gore

24/04 2017

dev-voices

dev-voices

Hear your Behat steps through the 'say' command.

  Sources   Download

The Requires

 

The Development Requires

by Faux Al Gore