Skip to content

Releases: buildkite-plugins/bats-mock

v2.1.1 (☕ Coffee Time)

14 Feb 21:09
4554c14
Compare
Choose a tag to compare

What changed

  • fix: use $BATS_RUN_TMPDIR for $BATS_MOCK_TMPDIR #19 (@KlfJoat)

v2.1.0 (🥐 Great Medialuna)

30 Dec 20:56
f952747
Compare
Choose a tag to compare

What changed

  • Improvements by @Flamefire (see #7)
    • incremental stubs
    • changed the way argument parsing worked
    • --allow-missing for unstub
    • allow any amount of arguments
    • more robustness in parsing of stubs and commands used internally
    • lots of tests
  • Solve issues with commands with characters invalid for variable names (see #9) @toote

Differences found post-release

By changing the way argument parsing worked, it corrected an untested bug:

  • stubs called with extra arguments did not fail (and yet did not run the stub either)

v2.0.1 (🕷️ Fixing bug )

17 Sep 21:40
1300512
Compare
Choose a tag to compare

What changed

  • stubs correctly propagate exit codes (instead of succeeding) #8 / @toote

v2.0.0 (🦇 Change argument parsing logic)

15 Sep 15:55
10e904a
Compare
Choose a tag to compare

Changed the way arguments are parsed to allow for multi-line matching. This will probably result in differences on how matching is reported so it is not guaranteed to be backwards-compatible.

If you are using multi-line strings for matching, you probably want to use $'LONG STRING WITH NEWLINES'

v1.3.0

26 Dec 02:27
@lox lox
998a4f6
Compare
Choose a tag to compare
Update README to integrate upstream changes