Skip to content

robot-name: avoid test pollution #362

Closed

Description

@jtigger

The exercise robot-name creates a single instance of Robot to be used for all test methods instead of creating a new instance for each test method. This structure assumes that instances of Robot cannot have state beyond what reset() clears; there's no need to do so.

Please move this initialization to a setUp() method.

After this is done, if you want a bigger challenge, see #61.

Activity

  1. rado-radoev commented on Mar 20, 2017

    @rado-radoev
    Contributor

    Submitted PR #391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    codegood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions