UoY-RoboStar / robochart-textual

This repository contains the plugins for the RoboChart textual editor
Eclipse Public License 2.0
0 stars 1 forks source link

Added more tests #41

Closed alvarohm closed 3 years ago

alvarohm commented 3 years ago

This merge adds the robochart-tests repository as a submodule and uses the models in the repository to test the parser and validator. This is implemented in the class IntegerationTests.

All tests pass both in eclipse and in the maven build.

alvarohm commented 3 years ago

@pefribeiro You don't need to. I thought of having one test that searches for all the projects in the tests folder and loads and validates them. Ultimately, I've done it this way so that I can have a more detailed view of how many and which examples are failing (from the test summary). But I don't really see a problem doing it differently, especially as the number of tests increases. I'll also have a look to see if there is no JUnit mechanism to generate tests dynamically.