Skip to content

Releases: boschresearch/shellmock

0.8.2

03 Apr 15:28
Compare
Choose a tag to compare

This patch release adds the missing functionality of specifying indirectly used executables for the commands command via shellmock directives in comments. Please see the documentation of the commands command.

0.8.1

28 Mar 10:04
Compare
Choose a tag to compare

This patch release updates the list of dependencies and removes some of them.

0.8.0

27 Mar 16:13
Compare
Choose a tag to compare

This minor release adds the commands command, which can be used to retrieve a list of executables called by a script without calling the script.

0.7.0

20 Mar 09:45
Compare
Choose a tag to compare

This minor release adds the functionality of deleting all mocks for an executable (cf. docs) and of mocking only some calls to an executable by forwarding other calls to the actual executable (cf. docs).

0.6.0

14 Mar 10:27
Compare
Choose a tag to compare

This minor release adds the functionality of adding a hook to be executed by a mock (cf. docs). Such hooks are useful to record any data available to the hook (e.g. working directory or environment variables) and to perform additional assertions.

0.5.0

02 Feb 09:31
Compare
Choose a tag to compare

This minor release restructures the user-facing documentation significantly. We now recommend specific documentation pages for specific use cases. We've also added an extensive how-to document that guides the user through the creation of tests with shellmock.

0.4.0

23 Jan 13:24
Compare
Choose a tag to compare

This minor release ensures that shellmock works with the very common shell options errexit, nounset, and pipefail in arbitrary combinations. It also updates the usage docs to elaborate on how to define multi-line mock output.

0.3.0

15 Jan 08:43
Compare
Choose a tag to compare

This minor release adds the ensure-assertions feature, which has shellmock fail a test if a mock was configured but no assertions on it performed. This release also contains some fixes for bugs that could cause bats to lose track of a test.

0.2.2

13 Dec 15:10
Compare
Choose a tag to compare

This patch release ensures that the variable stderr set by bats's own run --separate-stderr command is not overwritten when asserting expectations.

0.2.1

17 Nov 09:12
Compare
Choose a tag to compare

This patch release specifies compatible bash versions and ensures compatibility from bash 4.4 upwards.