Skip to content

Expand and improve on unit tests (vitest) #1290

Description

@b0ink

Unit tests have moved to the vitest testing framework, and all existing tests have been updated to ensure they're compatible.

Tests can be run via npm run test:ci

Current tests can be expanded on, and new tests can be created for components that don't have any, to ensure OnTrack has no issues.

Long term:

  • Testing suite that can use the OnTrack API?
  • Headless browser support where we can mock full student workflows such as authentication, unit navigation, and task submissions.. all in ci?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions