Skip to content

Common generator interface #452

Closed
Closed
@bmulvihill

Description

@bmulvihill

While working on a generator I noticed most exercise generators ({exercise-name}_cases.rb) have a different method names for the same purpose. For example the test values, some generators call this method assertion, others call it do, or work_load. The same goes for the test naming and skip methods. This can lead to some confusion and also code duplication.

I think a common interface would go a long way towards reducing some code duplication and making it easier to create new generators.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions