Support #6860
lexer tests
0%
Related issues
History
#1 Updated by Marian Edu about 1 year ago
- Status changed from New to Feedback
Is this a sub-task of conversion testing? What exactly should those tests cover, the lexer part of ANTLR grammar, the rules and AST manipulation after the parsing is done?
#2 Updated by Marian Edu about 1 year ago
Marian Edu wrote:
Is this a sub-task of conversion testing?
Ah, I see now there are separate projects for each topic so this just falls under 'conversion' topic.
#3 Updated by Greg Shah about 1 year ago
- Related to Support #6861: valid and invalid 4GL syntax (parsing) added
#4 Updated by Greg Shah about 1 year ago
- Status changed from Feedback to WIP
What exactly should those tests cover, the lexer part of ANTLR grammar
Yes, this is about testing the lexer part of the ANTLR grammar. These tests would be focused on the tokenization of 4GL source code. A big part of these tests will be checking how we process each keyword (including mixed case, abbreviations and reserved/non-reserved). It will also include non-keyword tokenization (various literals, operators and punctuation and so forth). We should cover cases that are expected to pass as well as those which should fail. The expected to fail cases probably need to be done as JUnit tests per your suggestion in #6861.
the rules and AST manipulation after the parsing is done?
Not this.