Test Parser based on a file
To ensure the correct behavior of our RegEx parser, it should be possible to define test cases and their result in a separate file (CSV or JSON)
Satisfied if:
-
CSV with regular expression, match text and expected result -
CSV is read and tested in npm test -
CSV can be run through grep to check
Edited by Marvin Schmidt