Skip to content

CLI v0.1.7 Release #10

Description

@joudbitar

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:

dsa update

Or reinstall:

curl -fsSL https://raw.githubusercontent.com/joudbitar/dsa-teacher/main/scripts/install-cli.sh | bash

Usage

  1. Run dsa test to capture test output
  2. Run dsa submit (works even if tests fail)
  3. View test logs in the web UI - they'll appear in the TestLogsPanel at the bottom of the challenge page

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions