-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
31 lines (19 loc) · 828 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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