Skip to content

Symfony 1.4 boilerplate with unit tests (PHPUnit), functional tests (Behat2)

Notifications You must be signed in to change notification settings

marcnazarian/symfony-1.4-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Symfony 1.4 boilerplate

This project is a Symfony skeleton with 
- one app (named frontend),
- one action/template (index) that display a list of forum messages
- one model (Forum) with fake messages (static messages, no database required)

The purpose of this boilerplate is to provide a full *test* environment
for those who want to start with Symfony 1.4:
- Unit tests with PHPUnit
- Functional tests with Behat2 and Mink

# How-tos

1. how to run unit test

    phpunit --configuration=test/configuration.xml --bootstrap=test/bootstrap/unit.php test/

2. how to run (failing) functional test

    cd test/bdd/
    behat homepage.feature

3. how to run all the test suite (maven required)

    mvn clean test
    
    
# License

This boilerplate is distributed under the GPL license: http://www.gnu.org/licenses/gpl.html

About

Symfony 1.4 boilerplate with unit tests (PHPUnit), functional tests (Behat2)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages