2017 © Pedro Peláez
 

project quick-up

Symfony quickstart & best practice tools - Behat 3, PHPSpec 2, PHPUnit 4 & Twitter Bootstrap 3

image

mseshachalam/quick-up

Symfony quickstart & best practice tools - Behat 3, PHPSpec 2, PHPUnit 4 & Twitter Bootstrap 3

  • Sunday, January 25, 2015
  • by mseshachalam
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

--------- master develop feature
Build Build Status --- ---
Coverage Code Coverage --- ---
Analysis Scrutinizer Code Quality --- ---
json deps Dependency Status --- ---
lock deps Dependency Status --- ---

perf-ci-private

Latest deploy (inc. branches) https://symfony-quickstart.herokuapp.com/en/, (*1)

Note: if you get an error, wait a minute & try again (refresh the page), the Application is probably deploying out or has gone to sleep., (*2)

Table of Contents

Screenshots

homepage

login

register

register-fr, (*3)

Setup

  1. Install dependencies
php composer.phar install
  1. Update parameters
/app/config/parameters_dev.yml

Database parameters are important: host, username, password etc..., (*4)

Run app

  1. make dev.run

Optionally add a branch / release tag make dev.run branch=feature/story-123, (*5)

This will run the following: * Switch to branch / release tag if requested * Install any/all dependencies (composer install) * Rebuild the database with fixtures * Start WebServer, (*6)

  1. Then go to http://localhost:8000

Run full test suite in parallel

make test.run

Output, (*7)

...
30 scenarios (30 passed)
206 steps (206 passed)
0m13.12s (48.85Mb)
...
6 specs
16 examples (16 passed)
1132ms

Generating code coverage report in html format ...
Generating code coverage report in clover format ...
...
OK (4 tests, 3 assertions)

This Rebuild the database & will run the commands below., (*8)

Behat command (using config in test/behat.yml)

make symfony.test.bdd

PHPSpec

make symfony.test.spec

PHPUnit

make symfony.test.unit

Rebuild database

Reference, (*9)

make symfony.dev.rebuild

These commands are only wrappers, you can still use the original commands if you wish., (*10)

More information on commands available visit Make CMDs lib, (*11)

---

Contributions

Please read on Contribution Guildlines, (*12)

The Versions