Releases: specs-sh/microspec
Releases · specs-sh/microspec
v1.9.2 • hotfix -f
Fixes -f / --filter
TODOwriting specs is up next on the list!
v1.9.1 • source errors
v1.9.0 • Dynamic()
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:
microtapno longer usesecho -e, changed all instances toecho(TAP doesn't support colors)
v1.8.1 • Short ERR
- Simply shortens
ERRwhich was had redundant code ( from previous v1.8.0 )
v1.8.0 • ERR $?
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
- Improved
set -usupport (may still catch moreset -ucases when adding specs)
v1.6.5 • MIT
Explicit MIT License header
v1.6.4 • set -u
Added set -u compatibility, specs now run when test files have set -u configured
v1.6.3 • Mac OS
- Color code support for Mac OS
\e[--->\033[
v1.6.2 • BASH 4.0-
Fix for BASH 4.0 and below:
- Using inline
trapcode, you cannotreturn, onlyexit(return allowed in future versions)
