Operations grimoire/Production tests: Difference between revisions

From Nasqueron Agora
(Created page with "Production tests allows to check the infrastructure works correctly. == Run tests == If you've access to the Docker infrastructure, run <code>make test-full</code>. If not,...")
 
(No difference)

Latest revision as of 20:14, 21 July 2016

Production tests allows to check the infrastructure works correctly.

Run tests

If you've access to the Docker infrastructure, run make test-full.

If not, run make test (or just make as it's the default action).

Write tests

Tests are found in the rOPS repository in tests/ folder.

They are currently based on PHPUnit.

If you provide generic test features, consider to create a trait.