Skip to content

Address duplication in test assertions #4

Description

@MikeRippon

We constantly have to assert newline characters, which makes assertions much less readable. Consider something like
assertThat(renderer, rendersLines(
"something",
"something else",
));

This allows future abstraction of how the rendering is performed (eg, rendering to a screen or file, instead of a string?)

Also think about indentation coupling. This is defined in many tests and render classes!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions