There are several areas in Skara that are severely lacking in test coverage. One major such area is bot factories. If we had such tests, SKARA-1618 could easily have been avoided, as I would have added tests for it. Without an existing framework or model, it's too easy to skip writing them. We should figure out a good reusable model for writing and setting up such tests and add a basic set for each bot factory.
I would like an easy way to define a test with a JSON string configuration snippet that gets processed by the factory and then be able to verify that the resulting bot instances are correct. The new Java multi-line strings should make writing the JSON input easier and clearer.
I would like an easy way to define a test with a JSON string configuration snippet that gets processed by the factory and then be able to verify that the resulting bot instances are correct. The new Java multi-line strings should make writing the JSON input easier and clearer.