This is not for you :)
This is a custom plugin for an insanely custom Gravity Form I made for my company. There is however a ton of cool shit in here doing dynamic shiz with GF.
Read more about testing...
- https://carlalexander.ca/introduction-wordpress-unit-testing/
- https://seravo.fi/2015/continuous-integration-testing-for-wordpress-plugins-on-github-using-travis-ci
- https://ben.lobaugh.net/blog/84669/how-to-add-unit-testing-and-continuous-integration-to-your-wordpress-plugin
- https://github.com/kevindees/travis-ci-wordpress
- https://codesymphony.co/wp-ajax-plugin-unit-testing/
- https://deliciousbrains.com/unit-testing-ajax-api-requests-wordpress-plugins/
- https://phpunit.de/manual/current/en/test-doubles.html