Google searches for WordPress theme unit testing all return dummy data, nothing about actual unit tests. Anyone have a lead to get started?
I’m very much interested. Thanks!
So basically it’s the code that @wpcli generates for the plugin unit testing, but changed for theme developer.wordpress.org/cli/commands/s…
We have unit testing in place in our themes (phpunit). I can share the bootstrap code if you’re interested in?