Pluto should be very accessible for university teachers and students! This docs is about writing exercise notebooks
You use Markdown and hidden code for most things, and sometimes expose a cells that the student has to fill in. You write
golden_ratio = missing
function is_prime(n)
missing
end
in places where the student needs to write something.
You then write some test cases:
@test makes autograding trivial. The only things we need to add to Julia's built-in system:
include("student5.jl"); run_my_secret_tests()
in isolated scopes. The Pluto.jl tests do this to test whether notebooks run outside of Pluto, we can reuse that code.