Commit 3d9ef2a3 authored by Jeremy Zhang's avatar Jeremy Zhang 🐴
Browse files

Document course dir

parent 3ed88307
......@@ -10,6 +10,12 @@ Such a testing environment is established during the sourcing of `env.sh` in all
### Workspaces vs Lessons
During development of this harness, we would set the DEBUG bit to 1 in `env.sh`. This would modify the behavior for the environment to source the submission files from `/home/Submission` rather than just `/home`.
### `/course` Directory
Ed provides a convenient read-only course-specific directory that is shared between all assignment and workspaces. As such we are able to use it to minimize network calls.
- `cache/gradle` - `/home/.gradle` cached after executing each of our assignments to generate a local copy of dependencies.
- `data` - Contains executables such as `aapt2 7.0.2` and `gradle 5.6.4`.
## Executables
There three harness executables. The first one is `check.sh` which is executed during check. It is intended to verify comparability of submitted code and provides students their comparison screenshots. The second one is `mark.sh` which compiles and grades the code according to unit and integration test results. Finally a `run.sh` is provided so graders may run submissions on the spot without executing tests. All executables execute in the environment specified above.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment