Skip to content
This repository has been archived by the owner on Jan 29, 2021. It is now read-only.

Latest commit

 

History

History
14 lines (8 loc) · 898 Bytes

testing.md

File metadata and controls

14 lines (8 loc) · 898 Bytes

Testing

Consider writing a test case when adding or changing a feature in Rogue. Most steps you would take when manually testing your code can be automated, which makes it easier for yourself & others to review your code and ensures we don't accidentally break something later on!

We have a test suite covering core interface and API functionality that should be run against any new feature you are adding to the repository. See below for details.

You may run unit tests locally using PHPUnit & Jest:

$ phpunit
$ npm test

Performance testing

Performance & debug information is available at /__clockwork, or using the Chrome Extension.