Skip to content

Should this track use test generators? #1513

Closed
@cmccandless

Description

@cmccandless

Pros:

  • Consistent test format
  • (Generally) Much easier to add new tests from the canonical data

Cons:

  • Some exercises don't have canonical data (although this number is shrinking rapidly)
  • Creation of test generators for new exercises/exercises without generators can be more complicated than even implementing the exercise itself.

Discussion commence... now.


TL;DR:

  • Test generators are (probably) a good idea
  • Use Jinja2 templates for code generation
  • Support exercise-specific templates.

Metadata

Metadata

Assignees

No one assigned

    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