Add unit tests (JUnit 5) #2

Open
opened 2026-06-22 23:17:00 +02:00 by raupy · 0 comments
Owner

The library has no tests. Add JUnit 5 and write unit tests for core components:

  • FormattingUtil (visibleLength, wrap, alignText, repeat)
  • AnsiUtils (colorize, stylize, format, strip, getSafeBorderType)
  • BoxBuilder (build output, border types, colors, alignment)
  • TableBuilder (headers, rows, column alignment, padding)
  • LayoutRenderer (columns, spacing, vertical alignment)
  • ProgressRenderer (buildProgressBar edge cases)
  • BorderType enum values
  • PlatformUtils detection
The library has no tests. Add JUnit 5 and write unit tests for core components: - [ ] FormattingUtil (visibleLength, wrap, alignText, repeat) - [ ] AnsiUtils (colorize, stylize, format, strip, getSafeBorderType) - [ ] BoxBuilder (build output, border types, colors, alignment) - [ ] TableBuilder (headers, rows, column alignment, padding) - [ ] LayoutRenderer (columns, spacing, vertical alignment) - [ ] ProgressRenderer (buildProgressBar edge cases) - [ ] BorderType enum values - [ ] PlatformUtils detection
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
raupy/console-utils#2
No description provided.