During a discussion at work this week, the question arose how to test code written by another developer against a given Interface.
This repository offers an example of one way of how this could be achieved.
There is a Hello class (as an example) and there is a HelloTest class.
The Hello classs implements a HelloInterface. The tests should be written against the interface.
The idea is to give developers the interface and ask them to implement the class, including tests.
When they are content, we receive the class and run our tests against their class.
This is done by locating the the class in a given location and pulling the class into the test.
To report bugs, feature requests or other issues: find me on twitter
This project has been licensed under GPL-3.0+ License (GNU General Public License v3.0 or higher).