Automated Integration Testing
Create a CI/CD pipeline to provision an automated test suite (using oneTimeSetUp function in shunit2) on a CI/CD platform (i.e. Travis, Jenkins, etc). Then use git hooks to automate some checks before merging changes to various provider functions. Test the functionality of the main function using a dummy "debug" or "testing" provider that just echos the i…
Create a CI/CD pipeline to provision an automated test suite (using oneTimeSetUp function in shunit2) on a CI/CD platform (i.e. Travis, Jenkins, etc). Then use git hooks to automate some checks before merging changes to various provider functions. Test the functionality of the main function using a dummy "debug" or "testing" provider that just echos the inputs it receives. From there, use this same mechanism to automate the testing of real providers. Write a CONTRIBUTING.md that outlines the structure of the shunit2 required to fully test providers.