Operations grimoire/Production tests

From Nasqueron Agora

📕📁📜 Old technical information :: content warning

⌛ This Nasqueron Operations Grimoire page hasn't been updated for a long time.

☣ As our infrastructure evolves quickly, there is a good chance this information is outdated or now inaccurate. Be careful and consider update it.

➡️ To assert the information is still up-to-date or not, you can check the history of the relevant role in our Operations repository.

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.