Skip to content

Bowling - inline test helper functions setUp and rollMany #899

Open
@mk-mxp

Description

@mk-mxp

In this forum thread once again a student struggled with DRY'ed tests. We should not hide test details behind helper functions like rollMany() or setUp().

Instead inline all the details into the individual test methods and make students see exactly what is happening, so they can focus on solving the exercises and not be distracted by analysing helper functions or PHP unit test automations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    x:action/improveImprove existing functionality/contentx:knowledge/noneNo existing Exercism knowledge requiredx:module/practice-exerciseWork on Practice Exercisesx:rep/smallSmall amount of reputationx:size/smallSmall amount of workx:type/contentWork on content (e.g. exercises, concepts)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions