We've been avoiding writing a lot of tests but as development stabilizes, it would be useful to add in some tests to protect against regression tests.
We can use this task to make a more specific list of areas we'd like coverage for – end-to-end testing on the frontend, integration tests, unit tests, etc.
QUnit
PHPUnit
unit tests
- shared class factored out of refreshLinkRecommendations.php in T284551: Maintenance script for updating recommendations to newer dataset
- Unit tests for HomepageHooks::onSearchDataForIndex ?
integration tests
- TBD