Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

IoUtils improvements #17

Closed
mark-wiemer opened this issue Aug 2, 2019 · 0 comments · Fixed by #45
Closed

IoUtils improvements #17

mark-wiemer opened this issue Aug 2, 2019 · 0 comments · Fixed by #45
Labels
refactor Refactor existing system

Comments

@mark-wiemer
Copy link
Owner

Description
Static methods are used to build and tear down the testing environment

Problems
Static methods only have one return value and are stateless. This means the client must track things instead, violating SRP and cluttering client code

Proposed Solution
Make IoUtils methods instance-based. This way, the IoUtils instance can store the default System.out and can build up / tear down testing environments with one method call

Acceptance Criteria

  • IoUtils methods are instance-based
  • One-line usage within all clients
@mark-wiemer mark-wiemer added the refactor Refactor existing system label Aug 2, 2019
@mark-wiemer mark-wiemer added this to To Do in Calculator Game via automation Aug 2, 2019
@mark-wiemer mark-wiemer changed the title IoUtils improvements IoUtils improvements Aug 2, 2019
Calculator Game automation moved this from To Do to Done Aug 15, 2019
@mark-wiemer mark-wiemer mentioned this issue Aug 21, 2019
6 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
refactor Refactor existing system
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant