2017 © Pedro Peláez
 

library behat-contexts

Contexts for functional testing with behat

image

zorbus/behat-contexts

Contexts for functional testing with behat

  • Wednesday, November 16, 2016
  • by titomiguelcosta
  • Repository
  • 1 Watchers
  • 1 Stars
  • 4,949 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Zorbus Behat Contexts

Contexts for Behat 3., (*1)

At the moment, just a Doctrine 2 context is included., (*2)

Instalation

composer require zorbus/behat-contexts, (*3)

Example

Check the FeatureContext.php for an example on how to instantiate the database context., (*4)

In case you are using the Symfony2 extension, you can pass the services defined in the container, no need to create the connection and entity manager manually., (*5)

Check database.feature for a real example of the defined steps., (*6)

Usage

Tag your scenarios with @database to make clean the database., (*7)

Test

In the root of the package, run:, (*8)

touch data/db.sqlite php vendor/bin/behat --suite=sqlite, (*9)

The Versions

16/11 2016

dev-master

9999999-dev http://www.titomiguelcosta.com

Contexts for functional testing with behat

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd symfony2 behat context

16/11 2016

0.2.5

0.2.5.0 http://www.titomiguelcosta.com

Contexts for functional testing with behat

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd symfony2 behat context

16/11 2016

0.2.4

0.2.4.0 http://www.titomiguelcosta.com

Contexts for functional testing with behat

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd symfony2 behat context

20/02 2015

0.2.3

0.2.3.0 http://www.titomiguelcosta.com

Contexts for functional testing with behat

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd symfony2 behat context

20/02 2015

0.2.2

0.2.2.0 http://www.titomiguelcosta.com

Contexts for functional testing with behat

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd symfony2 behat context

20/02 2015

0.2.1

0.2.1.0 http://www.titomiguelcosta.com

Contexts for functional testing with behat

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd symfony2 behat context

19/02 2015

0.2.0

0.2.0.0 http://www.titomiguelcosta.com

Contexts for functional testing with behat

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd symfony2 behat context

15/02 2015

0.1.0

0.1.0.0 http://www.titomiguelcosta.com

Contexts for functional testing with behat

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd symfony2 behat context