Today we worked on our test framework nano_padawans_test.
We implemented a method that finds all subclasses of the Test superclass and saves them in an array. That’s the base for the method that runs all tests: it creates an instance of each test class, finds all the methods that are test methods (you have to name them like „_test“ in the end) and runs them.
After that we cleaned up a bit:
- Created a separate file for each class
- Renamed the classes to point out their functionality
- Pushed that files into github