No one writes a Perfect code, We all create bugs while writing the code. If anyone disagree with it, I’ll gladly hear why? PHPUnit testing in WordPress can definitely help one to fix the issues.
In my talk, I’ll cover following:
1. What is PHPUnit testing.
2. Why unit testing is important?
3. Difference between Unit and Acceptance test.
4. Introduction to PHPUnit,
5. How to setup PHPUnit using WP-CLI.
6. Assertion Methods.
7. How to write test cases.