From 1968dc05f2cbad79c70c3e828a4c8b852ce36619 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Sat, 22 Jul 2023 21:09:50 +0000 Subject: [PATCH] Add 'Writing Unit Tests' --- Writing-Unit-Tests.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 Writing-Unit-Tests.md diff --git a/Writing-Unit-Tests.md b/Writing-Unit-Tests.md new file mode 100644 index 0000000..23a1fab --- /dev/null +++ b/Writing-Unit-Tests.md @@ -0,0 +1 @@ +One thing the theme needs badly is unit tests of the code that currently lives within functions.php. 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!) \ No newline at end of file