Symfony Demo App with Codeception tests
PHP HTML JavaScript CSS
Clone or download
Pull request Compare This branch is 20 commits ahead, 128 commits behind symfony:master.
Latest commit 9213ea1 Jan 14, 2018
Permalink
Failed to load latest commit information.
assets Fixed the responsive navigation menu Oct 13, 2017
bin Add a APP_DEBUG fallback in console and front controller Nov 10, 2017
config Codeception tests ported from old app Dec 11, 2017
public Add a APP_DEBUG fallback in console and front controller Nov 10, 2017
src Codeception tests ported from old app Dec 11, 2017
templates Use rootform test to check by root form view Dec 5, 2017
tests Codeception tests ported from old app Dec 11, 2017
translations minor #721 [Validators PL translation] Fixing declension. (piotrgradz… Dec 5, 2017
var Upgrade from 3.3 to 3.4 & 4.0 Nov 9, 2017
.editorconfig Add EditorConfig file Dec 8, 2015
.env.dist Workaround to use DATABASE_URL with %kernel.project_dir% parameter Aug 30, 2017
.gitignore Upgrade from 3.3 to 3.4 & 4.0 Nov 9, 2017
.php_cs.dist [WIP] Symfony 4.0 & Flex demo (#9) Dec 5, 2017
.travis.yml updated script order Dec 11, 2017
CONTRIBUTING.md Always use https:// when linking to symfony.com Apr 27, 2017
LICENSE Update license Feb 7, 2017
README.md Merge github.com:symfony/demo Nov 25, 2017
app.json Add MAILER_URL env var to Heroku config file Nov 10, 2017
appveyor.yml minor #655 Cache the phpunit install between builds on CI (stof) Sep 20, 2017
codeception.yml [WIP] Symfony 4.0 & Flex demo (#9) Dec 5, 2017
composer.json Update composer.json Jan 14, 2018
composer.lock Codeception tests ported from old app Dec 11, 2017
docker-compose.yml Codeception tests ported from old app Dec 11, 2017
package.json Added a validator service for commands Jul 27, 2017
phpunit.xml.dist update dama/doctrine-test-bundle to ^4.0 Oct 16, 2017
symfony.lock symfony.lock reordering. Dec 5, 2017
webpack.config.js Fix some minor configuration issues Aug 30, 2017
yarn.lock Added a validator service for commands Jul 27, 2017

README.md

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