c33s-keep-it / symfony-demo

Symfony Demo App with Codeception tests

Home Page:http://codeception.com/docs/modules/Symfony2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Symfony Demo Application

We use official "Symfony Demo Application" to demonstrate basics of Codeception functional tests. Check out tests directory to see functional and unit tests included. We use Symfony2 and Doctrine2 modules for zero-configuration Symfony testing.

Run Codeception Tests

composer install -n
php bin/console doctrine:fixtures:load -n --env test
php bin/codecept run

Below goes official README of Symfony Demo Application:


The "Symfony Demo Application" is a reference application created to show how to develop Symfony applications following the recommended best practices.

Requirements

Installation

Execute this command to install the project:

$ composer create-project symfony/symfony-demo

Deploy

Usage

There's no need to configure anything to run the application. Just execute this command to run the built-in web server and access the application in your browser at http://localhost:8000:

$ cd symfony-demo/
$ php bin/console server:run

Alternatively, you can configure a fully-featured web server like Nginx or Apache to run the application.

Tests

Execute this command to run tests:

$ cd symfony-demo/
$ ./vendor/bin/simple-phpunit

About

Symfony Demo App with Codeception tests

http://codeception.com/docs/modules/Symfony2

License:MIT License


Languages

Language:PHP 75.8%Language:HTML 17.5%Language:JavaScript 3.5%Language:CSS 3.2%