Skip to content

Releases: shellspec/shellspec

0.24.2

27 May 14:54
0.24.2

Choose a tag to compare

Fixed

  • Fixed a bug "SHELLSPEC_GROUP_ID: unbound variable"
  • Fixes when ran by "bash shellcpec" and "ksh shellspec"

0.24.1

23 May 09:10
0.24.1

Choose a tag to compare

Fixed

  • Fixed broken Todo.
  • Fixed a bug that caused an error when "--kcov" was specified and /dev/tty no be writable. (#67)
  • Fixed a bug when enabled extendedglob for zsh.

0.24.0

08 May 21:47
0.24.0

Choose a tag to compare

Added

  • Add BeforeAll and AfterAll. (#7)
  • Expand parameter within Data helper. (#57)
  • Add test for GWSH shell.
  • Add manual test for OpenBSD ksh on OpenBSD 6.6.
  • Add manual test for NetBSD sh on NetBSD 9.0.

Removed

  • Removed match matcher. Use match pattern matcher instead.
  • Remove tests for unstable old shells (Bus Error, Bad address, Memory fault, etc).
    • CI test for pdksh 5.2.14 on FreeBSD.
    • Docker test for pdksh 5.2.14 on Debian 2.2r7.
    • Docker test for ksh 93q on Debian 3.1r8.
  • Remove tests for FreeBSD 13.0-current (Unstable due to work in progress).

0.23.0

02 Apr 17:06
0.23.0

Choose a tag to compare

Added

  • New quick execution and related options (--quick, --repair, --next).
  • New failures formatter.
  • Support self-executable specfile. (#40)
  • Add --pending-message and --quiet option.
  • Add short options for focus and filters.
  • Add -w short options for --warning-as-failure.
  • Add --boost (joke) option.
  • Reporter: Displays comments of 'temporary skip' and 'temporary pending'.
  • Support windows line endings. (#45)
  • Syntax check for missing End of parameters.
  • shellspec --init: generate ignore file for cvs.

Changed

  • Run the specfile specified by arguments even not end with _spec.sh.
  • Formatter: Change fixed color.
  • Formatter: Change mark for fixed and pending of progress formatter.

Fixed

  • Fixed --pattern option to avoid syntax error.
  • Return exit status code on the specfile properly.
  • Fixed a bug that start with and end with match glob pattern.
  • Formatter: Fixed not display correctly of documentation formatter when description is empty.
  • Fixed an issue installer.sh fails in some environments. (#43)

Deprecated

  • Use --require long option instead of -r short option.

0.22.0

22 Feb 01:17
0.22.0

Choose a tag to compare

Added

  • Improve kcov version detection.
  • Colored TAP formatter. (Kylie McClain)
  • Added --show-deprecations and --hide-deprecations options.

Changed

  • New kcov integration.
    • Do not create translated specfile in project directory.
    • Suppress unnecessary coverage measurement to improve testing speed.
    • Added --coverage-report-info to add extra information to coverage report.
  • make install compatible with BSD and macOS.
  • Suppress unnecessary before/after hooks of skipped examples.
  • install.sh: Install to under $HOME/.local by default
  • Use $HOME/.config if not defined XDG_CONFIG_HOME

Deprecated

  • --kcov-common-options is deprecated, merge into --kcov-options.
  • Deprecates the match matcher due to cause many syntax errors. Use match pattern matcher instead.

Fixed

  • Fixed broken test in docker on Linux.
  • Fixed --example option to avoid syntax error.
  • Append to LOGFILE instead of overwriting.

0.21.0

30 Jan 14:01

Choose a tag to compare

Added

  • Provide docker images.
  • Provide distribution archive.

0.20.2

23 Aug 19:53

Choose a tag to compare

Fixed

  • Fixed wrong temporary directory name.
  • Fixed for bug that some shell can not call external command same name as builtin.

0.20.1

18 Aug 18:35

Choose a tag to compare

Fixed

  • Fixed for solaris.

0.20.0

17 Aug 16:54

Choose a tag to compare

Added

  • Add parameterized example. (Parameters helper)
  • Add Set helper for set shell option
  • Add BeforeCall / AfterCall helper.
  • Add BeforeRun / AfterRun helper.
  • Use hexdump if od does not exist.

Changed

  • Redesign run evaluation. [major breaking change]
    • Change the behavior to close to the run of bats.
    • New run evaluation allows the execution of functions and commands.
    • Use run command to execute only the commands. (old run -> use run command)
    • Merge invoke evaluation to run evaluation. (old invoke -> use run)
    • Merge execute evaluation to run evaluation. (old execute -> use run source)
  • Export %const values to the translation process

Removed

  • Drop support for posh 0.10.2 and similar versions as the handling of the shell flag is broken.

Fixed

  • Fixed bug for related with tag.
  • Fixed bug where coverage might not work on macOS.

0.19.1

23 Jul 15:43

Choose a tag to compare

Added

  • Support install via make, bpkg, basher