Skip to content

Releases: a2geek/command-line-test-harness

2.1

23 Oct 16:32
fa17790

Choose a tag to compare

What's Changed

This is primarily a fix for Windows.

  • Native images now build successfully (see action).
  • Color is turned off for Picocli testing (affects Windows but is harmless for other environments).
  • Executable paths should now work. Java on Windows errors if a glob expression is in a path. The current assumption is that the glob is at the end of the path, so that is split out independently.

Full Changelog: 2.0...2.1

2.0

12 Oct 22:22
d4037d5

Choose a tag to compare

2.0

What's Changed

Note: API changes and config file changes.

Overview:

  • Replaced TestHarness.run(...FilePreservation) with Settings which includes the file preservation settings, a flag to always show output, a base directory for file: references, as well as an option for an alternate PrintStream.
  • Replaced match with criteria that includes match but also splits out the whitespace handling.
  • New match option for regex.
  • Whitespace options for exact, trim, and ignore.

Tickets:

  • Add an "ignore whitespace" option #11
  • Make file references more reliable. #12
  • Support regex matching. #13
  • Review if stdout/stderr needs to have more detailed structure? #14
  • Enable diff as output option #15
  • Maybe a configuration option #16

Full Changelog: 1.3...2.0

1.3

08 Oct 22:37
74c22c4

Choose a tag to compare

1.3

What's Changed

  • stdout/stderr do not allow variable references (only file) #8
  • trim only works beginning/end of the text, not per line #9

Full Changelog: 1.2...1.3

1.2

08 Oct 02:38
6dae91b

Choose a tag to compare

1.2

What's Changed

  • Fixed bug with binary file type so that it works now.

Full Changelog: 1.1...1.2

1.1

07 Oct 18:26
434190c

Choose a tag to compare

1.1
  • Restructured for native compile (everything but Windows)
  • Fix main() methods that do not use System.exit. They don't have a return value, so now default to 0.
  • Fixed match type contains.
  • Updated README. Hopefully a bit more useful now.

Full Changelog: 1.0...1.1

Initial release

06 Oct 18:03

Choose a tag to compare

First release.

Notes:

  • No native build as it appears to conflict with the agent configuration for testing.
  • Library published to Maven Central