How We Test - spthemes/best-practices GitHub Wiki
We check that:
- The theme does not generate PHP fatal errors, warnings, or notices.
- The block editor works on the front end and in the admin area:
- Button colors work
- Full/Wide blocks work
- Editor styles are present and reflect the front end styles
- Back end and front end widths match
- General block editor functionality works
- All strings are translatable with a text domain that matches the theme name, and a .pot file has been generated.
- An accessibility test using a tool such as Lighthouse reveals no issues specific to the theme’s design or imported content.
You may also wish to review other tools we use for testing when doing your own theme tests.