Skip to content

Releases: specs-sh/microspec

v1.9.2 • hotfix -f

21 May 00:10

Choose a tag to compare

Fixes -f / --filter

TODO writing specs is up next on the list!

v1.9.1 • source errors

21 May 00:02

Choose a tag to compare

If there is an error source-ing a provided file:

  • microtap completely ignores the file (this behavior may change in 2.0+)
  • microspec prints an error:

    Screenshot from 2021-05-20 16-59-38

v1.9.0 • Dynamic()

16 May 16:19

Choose a tag to compare

Adds support for dynamic spec functions, e.g. those created on the fly via eval

  • When the reported line of code doesn't exist (which is the case when using dynamic functions), then:
    • The function name will be printed (in place of file name and line number)
    • The reported failing BASH command will be printed (in place of actual line of code taken from file)

Minor:

  • microtap no longer uses echo -e, changed all instances to echo (TAP doesn't support colors)

v1.8.1 • Short ERR

12 May 17:08

Choose a tag to compare

  • Simply shortens ERR which was had redundant code ( from previous v1.8.0 )

v1.8.0 • ERR $?

11 May 22:00

Choose a tag to compare

Allow ERR to exit $?

This somewhat reverts:

But keeps the same overall functionality in a newly implemented ERR

Now, ERR will always return $? when it's called, which is only:

  • Consistently by 3.2.57
  • When source fails in any version

Only when source fails will ERR also print out the final data for the runner (STDOUT, STDERR, etc)

v1.7.0 • set -u

11 May 21:13

Choose a tag to compare

  • Improved set -u support (may still catch more set -u cases when adding specs)

v1.6.5 • MIT

11 May 21:05

Choose a tag to compare

Explicit MIT License header

v1.6.4 • set -u

11 May 21:02

Choose a tag to compare

Added set -u compatibility, specs now run when test files have set -u configured

v1.6.3 • Mac OS

11 May 19:34

Choose a tag to compare

  • Color code support for Mac OS
  • \e[ ---> \033[

v1.6.2 • BASH 4.0-

11 May 19:18

Choose a tag to compare

Fix for BASH 4.0 and below:

  • Using inline trap code, you cannot return, only exit (return allowed in future versions)