Unit tests are a wonderful tool for programmers. They allow you to ensure an individual part of your code base performs exactly the way you intend. Unit tests are ideal for testing pure functions and therefore it is beneficial to write pure functions.
unit-test
WordPress Core Unit Tests
I’ve finally started to delve into WordPress core unit tests and I wanted to document the experience. In this article I create a unit-test for ticket #28435 and submit to the WordPress project at https://core.trac.wordpress.org/ticket/28435 Environment For the purposes of this article, I’m using the combination of Vagrant, VVV, and VirtualBox. If you need help […]
