http://symfony.doorkeeper.jp/events/12539
http://sleep-er.co.uk/blog/2013/Creating-a-simple-REST-application-with-Silex/
$ php -S localhost:8888 -t web
Testing - Documentation - Silex - The PHP micro-framework based on Symfony2 Components
上記のページを参考に、index.php の $app 部分を app.php に切り分けるようにする。
テストを実行するには以下。 phpunit.xml に tests 以下をテスト対象にしている。
$ ./vendor/bin/phpunit