Skip to content

Releases: ztombol/bats-support

v0.3.0

06 Dec 22:05
Compare
Choose a tag to compare

Added

  • Restricting invocation to specific locations with batslib_is_caller()

v0.2.0

22 Mar 22:38
Compare
Choose a tag to compare

Added

  • npm support
  • Reporting arbitrary failures with fail() (moved from bats-assert)

Changed

  • Library renamed to bats-support

v0.1.0

08 Mar 01:33
Compare
Choose a tag to compare

Added

  • Two-column key-value formatting with batslib_print_kv_single()
  • Multi-line key-value formatting with batslib_print_kv_multi()
  • Mixed formatting with batslib_print_kv_single_or_multi()
  • Header and footer decoration with batslib_decorate()
  • Prefixing lines with batslib_prefix()
  • Marking lines with batslib_mark()
  • Common output function batslib_err()
  • Line counting with batslib_count_lines()
  • Checking whether a text is one line long with
    batslib_is_single_line()
  • Determining key width for two-column and mixed formatting with
    batslib_get_max_single_line_key_width()