Skip to content

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

License

Notifications You must be signed in to change notification settings

inetis-ch/oc-testing-plugin

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages