Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pieter Koopman
Personal Prof public repository
Commits
f25b2f58
Commit
f25b2f58
authored
Oct 14, 2019
by
Markus Klinik
Browse files
README
parent
f1ffa74b
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
f25b2f58
...
...
@@ -18,3 +18,23 @@ Rascal implementation of a simple rule checker for student Java assignments.
Version: 0.13.0-SNAPSHOT
error("All I/O should happen in the view class",|java+class:///a2/Gallows|)
error("Always explicitly specify access modifiers: public, protected, or private",|java+field:///a2/User/input|)
## Running the test cases
There are some test projects and test cases to check that the rules give
correct error messages. To run the tests, use the test script. The test script
looks for all files
`*Spec.rsc`
and executes them
$ ./test.sh
To run only specific files, specify them on the command line.
$ ./test.sh Assignment02RulesSpec.rsc Assignment03RulesSpec.rsc
## References
-
Rascal official website https://www.rascal-mpl.org/
-
Rascal github https://github.com/usethesource/rascal
-
Rascal documentation http://tutor.rascal-mpl.org/Rascal/Rascal.html
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment