You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: