Skip to content

Set up Vitest for unit and component testing #13

@GuiBibeau

Description

@GuiBibeau

User Story

As a fellow engineer, I want unit and component testing with Vitest so that I can validate logic and UI behavior without relying only on manual QA.

Context

Vitest should be part of the project's modern development loop. This issue should introduce a clean baseline for writing and running tests in the React codebase.

Acceptance Criteria

  • Vitest is configured and documented
  • At least a few representative tests exist for shared logic and UI components
  • Test utilities are organized so future tests are easy to write
  • Tests run locally and in CI
  • The setup supports React component testing patterns cleanly

Notes

  • Favor clear testing conventions over maximal configuration
  • Good examples matter here because fellows will copy the first tests they see
  • Keep mocking strategy understandable

Out of Scope

  • Full coverage goals
  • Browser E2E tests

Size

Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:devexDeveloper experience, tooling, and contributor workflowarea:testingUnit, component, coverage, and E2E testingenhancementNew feature or requestfellowshipSpring 2026 fellowship project workphase:1-foundationFoundation and engineering baselinepriority:prerequisiteMust land before broader feature work starts

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions