WIP: Feature branch
Purpose
With the conventional training program completed the objective of this exercise is to integrate unit testing into the custom modules. As part of standards at least 50% code coverage is required but I will likely be aiming for higher until I am put onto a project.
Approach
- Create PHPUnit tests for everything in
thunderdome/src/
- Get them passing
How to
Within the root app
directory open a terminal and run lando phpunit
with optional --filter
options denoting testFunctionName ClassNameTest /web/modules/custom/thunderdome/
and wait for the tests to run. User will be able to see all tests passing.
Review Checklist
-
Sufficient documentation (can others figure out what's going on without context? -
Sufficient test coverage. -
All pipelines pass. -
Added applicable files to code standards and automated test pipelines. -
No merge conflicts present. -
Merge request follows deployment requirements.