Skip to content
Sample project for Codeception Lumen module.
PHP Other
  1. PHP 99.2%
  2. Other 0.8%
Branch: codeception-2.2
Clone or download

Sample Lumen Application with Codeception tests.

Build Status

This is a very simple Lumen application used to test the Lumen module of Codeception. It has no real world functionality, only functionality to check the correct execution of the methods of the Lumen module.


  • Clone repo
  • Create your .env file from the example file: cp .env.testing .env
  • Install composer dependencies: composer install
  • Create databases by creating the following files:
    • storage/database.sqlite
    • storage/testing.sqlite
  • Run the following commands:
    • php artisan migrate
    • php artisan migrate --database=testing
  • Server:
    • run php -S localhost:8000 -t public and browse to localhost:8000
  • Run tests
    • run Codeception, installed via Composer: ./vendor/bin/codecept run
You can’t perform that action at this time.