Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1022 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 1022 Bytes

Test for OctoberCMS site

An easy way to use the power of Laravel testing inside your OctoberCMS site.

Setup

  1. Copy content of this repos in plugins/inetis/testing
  2. Go to plugins/inetis/testing and run composer install
  3. Run tests composer test

Informations

There is default laravel factories for Backend Users and RainLab Users in factories directory. You can adapt them or create new ones.

By default all is configured for the changes made during tests are not persistantes. For this work with Dusk test (that perform real HTTP request) a dump of the database is performed before tests and restored after.