CLI v0.1.7: Test Logs Feature
What's New
- Test logs capture and submission: Test output is now captured and stored with submissions
- Failed test submissions: You can now submit failed tests to save logs for debugging
- Test logs API: New endpoint to fetch test logs for a project
- TestLogsPanel UI: New UI component that displays test logs with auto-expand for failures
- Database migration: Added
testLogs JSONB column to submissions table
Changes
- Allow
dsa submit to work even when tests fail (previously blocked)
- Capture test stdout/stderr and format into structured logs
- Store test logs in database with submissions
- Display test logs in web UI with syntax highlighting
- Auto-expand panel when tests fail for better visibility
Installation
Update to the latest version:
Or reinstall:
curl -fsSL https://raw.githubusercontent.com/joudbitar/dsa-teacher/main/scripts/install-cli.sh | bash
Usage
- Run
dsa test to capture test output
- Run
dsa submit (works even if tests fail)
- View test logs in the web UI - they'll appear in the TestLogsPanel at the bottom of the challenge page
CLI v0.1.7: Test Logs Feature
What's New
testLogsJSONB column to submissions tableChanges
dsa submitto work even when tests fail (previously blocked)Installation
Update to the latest version:
Or reinstall:
curl -fsSL https://raw.githubusercontent.com/joudbitar/dsa-teacher/main/scripts/install-cli.sh | bashUsage
dsa testto capture test outputdsa submit(works even if tests fail)