Skip to content

Add test suite #9

@SleeplessByte

Description

@SleeplessByte

I prefer using something like ava because it's nice for our needs (runs everything randomly and concurrently by default, and requires us to compile it first, which is the first step of the code).

We should:

  • test inputs (finding input files) and their flags
  • test outputs (that the output files are correctly created)
  • for each exercise:
    • test at least 1 optimal solution
    • try to test hitting each path

Tracking progress:

  • two-fer
    • smoke (inline each status once)
    • snapshot (0-20 fixture snapshot per status)
    • specific path tests
  • resistor-color
    • smoke (inline each status once)
    • snapshot (0-20 fixture snapshot per status)
    • specific path tests
  • resistor-color-duo
    • smoke (inline each status once)
    • snapshot (0-20 fixture snapshot per status)
    • specific path tests
  • gigasecond
    • smoke (inline each status once)
    • snapshot (0-20 fixture snapshot per status)
    • specific path tests

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions