Add 'Writing Unit Tests'
parent
507f9976b1
commit
1968dc05f2
1
Writing-Unit-Tests.md
Normal file
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!)
|
Loading…
Reference in New Issue
Block a user