Download the PHP package guilhermeguitte/behat-laravel without Composer
On this page you can find all versions of the php package guilhermeguitte/behat-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download guilhermeguitte/behat-laravel
More information about guilhermeguitte/behat-laravel
Files in guilhermeguitte/behat-laravel
Package behat-laravel
Short Description Adding BDD test with Behat to laravel 4
License MIT
Informations about the package behat-laravel
Behat-Laravel
Behat-Laravel is a solution to test your application using the BDD methodology.
Features:
Current:
- Create the folder structure to receive the Acceptance tests.
- Run the acceptance test.
- Ingration with Zizaco/TestCases-Laravel, that provide the useful methods test your application.
Quick start:
Required setup
In the key of file add the following:
Run the Composer update comand
In your add to the end of the array
Install .
http://docs.seleniumhq.org/download/
Commands
Now generate Behat's structure folder using the follow artisan's command:
You can pass the test path if you are not using the folder.
Generating Documentation
To create a document in html just run:
or
Structure
Adding Contexts
When you create a in the folder these files will be included by preventing the specification of files that will be used by the tests.
Will create:
Running tests
To run all test, you can use the follow command:
To run tests for specific features, you can specify the name of the folder or the .feature file:
If you have large feature files and you only want to run a specific senario use
Laravel behat currently supports the following behat command line options:
License
Behat-Laravel is free software distributed under the terms of the MIT license.
All versions of behat-laravel with dependencies
behat/behat Version 2.5.*
illuminate/support Version *
alexandresalome/php-selenium Version 1.0.1
zizaco/testcases-laravel Version dev-master
behat/mink-extension Version 1.3.3