Auto-graded exercises are one of the key features offered by LearnPack, it allows the learners to have instant feedback on what theyโre learning. You can create the tests using Jest (For html, css, react, javascript, dom) and pytest (Python).
With LearnPack you can create tutorials with different grading modes, these are the grading modes you can use:
Incremental: In this grading mode of exercises, you canโt go to the next exercise until you pass the test of the current one. It is incremental, so further exercises require the knowledge of previous exercises. This grading mode is good for tutorials.

Isolated: In the isolated mode each exercise is independent so you can go to any exercise in the order you prefer. The latest exercises donโt need earlier exercisesโ knowledge.
No Grading: These exercises arenโt graded, therefore they donโt have tests.
The learnpack test command allows you to audit each of the exercises' tests.
This can be done if you have a solution.hide file on each exercise, that way the test command will check if the exercises' tests will assert against the solutions.