Instructor Documentation
Add Ares 2 to an exercise, write a security policy and understand what it does and does not protect against.
Contributor Documentation
The technologies Ares 2 is built on, the policy model and the subsystems. For people working on Ares 2 itself.
What Ares 2 does
- Policy-based sandboxing through static and dynamic analysis
- Supports JUnit Jupiter and jqwik
- More robust tests and builds through limits on time, threads and IO
- Public and hidden tests, where hidden tests obey a custom deadline
- Clearer feedback with multiline errors and fault locations
- Comfortable testing of exercises that use System.out and System.in
Add it to an exercise
pom.xml
<dependency>
<groupId>de.tum.cit.ase</groupId>
<artifactId>ares</artifactId>
<version>2.1.5</version>
</dependency>
build.gradle
implementation("de.tum.cit.ase:ares:2.1.5")