Add 'Writing Unit Tests'

John Bintz 2023-07-22 21:09:50 +00:00
parent 507f9976b1
commit 1968dc05f2

1
Writing-Unit-Tests.md Normal file

@ -0,0 +1 @@
One thing the theme needs badly is unit tests of the code that currently lives within <code>functions.php</code>. This will require breaking out the code into classes and exposing methods on those classes as template tags. I will set up a few example unit tests so that, if you're doing work on the theme, you'll be able to write your own tests for new code (or for existing code, which will be helpful, too!)