What this covers: grading modes available in LearnPack, and how to validate unit tests with the CLI. ✅
Grading modes
LearnPack supports three grading modes. Pick the one that matches your flow.
Tip: Start with Incremental for structured courses, and use Isolated for optional practice modules.
Test frameworks
Keep assertions clear and deterministic so feedback stays fast and readable.
Validate your unit tests
Use the CLI to audit each exercise’s tests. Ensure each exercise includes a hidden solution file so the command can assert against it.solution.hide file exists in an exercise, learnpack test runs the test suite against that solution to confirm your checks are correct and aligned with the expected outcome.
Outcome: reliable auto-grading, consistent feedback, and fewer false negatives during learner submissions.
Next up
Add quizzes, projects, and tasks
Build checks for understanding directly in your course.
Best practices for course design
Structure content for clarity and progress.
How Rigobot works
Context-aware tutoring that supports graded flows.
How to publish a LearnPack package
Share a link, export SCORM, or embed in your LMS.

