mjtest-tests issueshttps://git.scc.kit.edu/IPDSnelting/mjtest-tests/-/issues2021-11-05T23:20:20+01:00https://git.scc.kit.edu/IPDSnelting/mjtest-tests/-/issues/1File naming and hierarchy convention2021-11-05T23:20:20+01:00uxwluFile naming and hierarchy convention## Motivation
Looking at the existing PRs people seem to have different ideas for how to structure and name their test files. Unifying this would make the test suite a bit easier to read and understand.
## Technical constraints
The test...## Motivation
Looking at the existing PRs people seem to have different ideas for how to structure and name their test files. Unifying this would make the test suite a bit easier to read and understand.
## Technical constraints
The tests need to be in the subfolder for their corresponding phase, but the *names* of the file and *the subfolder* can apparently be chosen arbitrarily:
> The test cases must have unique names (in each mode folder) and can also be placed into sub folders
## Ideas
- Top-Level subfolders for valid/invalid programs
- Group tests by the subsystem they try to exploit (not really relevant for the lexer, but e.g. `parser/expressions` or `parser/declarations`, ...).
- Use `-` instead of camel case
- lowercase everything
- \<here be dragons or whatever else you suggest>https://git.scc.kit.edu/IPDSnelting/mjtest-tests/-/issues/3Semantic tests with incorrect syntax2021-11-21T00:40:33+01:00ucywgSemantic tests with incorrect syntaxThere are currently a number of semantic test that are already syntactically invalid (and should thus either be removed or moved to syntax):
- UseOfNullAsType4.invalid.mj
- UseOfNullAsType3.invalid.mj
- UseOfNullAsType2.invalid.mj
- Use...There are currently a number of semantic test that are already syntactically invalid (and should thus either be removed or moved to syntax):
- UseOfNullAsType4.invalid.mj
- UseOfNullAsType3.invalid.mj
- UseOfNullAsType2.invalid.mj
- UseOfNullAsType1.invalid.mj
- MainMethodWithNoArgs.invalid.mj
- MainMethodReturningInt.invalid.mj
- DeclarationInCondition.invalid.mjuxroguxroghttps://git.scc.kit.edu/IPDSnelting/mjtest-tests/-/issues/2Developer access for all lab participants2021-10-28T16:20:41+02:00uxrogDeveloper access for all lab participantsuxroguxrog