Releases: shellspec/shellspec
Releases · shellspec/shellspec
0.28.1
Changed
- Improved documentation. Thanks to Yohei Kawahara (#173).
Fixed
- bash: Fixed an unexpected error message in self-executable specfile.
- Fixed a bug that test command cannot redefine when using "when run source"
- Fixed a bug when specified relative tmp directory path.
- Fixed option parsing
latest
This tag points to the latest release.
- shellspec-dist.tar.gz - Latest distribution archive
0.28.0
Added
- Added
BeforeEach/AfterEachas synonym forBefore/After. - Added
FORCE_COLORenvironment variable. - Added
--tmpdiroption. - Added
--execdiroption to specify the directory for specfile execution. - Added
-c(--chdir) and-C(--directory) options to change directory at startup. - Added path syntax (
*/and**/) and-L(--dereference) option to match recursive directories. - Added
--helperdirto specify the location ofspec_helperetc. - Added the environment variable
SHELLSPEC_HELPERDIRto indicate the location ofspec_helperetc. - Added
--reportdirand--covdiroptions. - Added
-O(--option) option. - Added
-I(--load-path) option. - Added
<module>_precheckcallback and some helper functions tospec_helperfor pre-checking. - Added
<module>_loadedcallback to be called afterspec_helperloading.
Changed
- Replaced with a new option parser getoptions which supports the standard option syntax.
- Replaced
--keep-tempdirwith--keep-tmpdir. - Specifying a file in the shellspec's argument is now ignored if it does not match
--pattern. - Filled in system-out and system-err in junit xml.
- Allowed run the tests from any subdirectory.
- The
-Doption has been deprecated (Replace with the--default-pathoption). - The environment variable
SHELLSPEC_SPECDIRhas been deprecated since there is not always a single directory for specfiles. - Rename
.shellspec-profiler.logtoprofiler.logfor profiler log. - Accept
banner.mdas a banner file Includeandimport(shellspec_import) can now pass arguments.- The delimiter of the environment variable
SHELLSPEC_REQUIREShas been changed from:to space. - Improved documentation. Thanks to ldicarlo (#117, #119), Antoni Marcinek (#120, #139), Stuart R. Jefferys (#155), Leon Stafford (#159).
Removed
- Removed
--kcov-common-optionsoption.
Fixed
- bash 4.1 - 4.3: Fixed a bug that
run scriptcould not get the exit status. - zsh < 4.2.0: Fixed a bug when extendedglob is enabled.
- Fixed possibility of I/O error in satisfy matcher (GitHub Actions only?).
- Fixed a bug in which zsh on macOS occasionally exits with exit code 147 (SIGCONT).
- Fixed several bugs related to the Windows path for busybox-w32.
- Fixed a bug when using metacharacters for tags.
0.27.2
Fixed
- Fixed a bug that didn't cause an error if there are fixed examples
0.27.1
Removed
- Drop support for posh 0.8.5 due to signal handling broken.
Fixed
- Fixed gray color.
- Fixed broken
--warning-as-failure. - Fixed a bug that can not CTRL-C with posh.
0.27.0
Added
- Added
be exportedandbe readonlymatchers. - Added
%printfand%sleepdirectives.
Changed
- Improved TAP formatter.
- Supports
TODOandSKIPdirectives. - Use
Bail out!on error. - Added error details.
- Supports
BeforeAll/AfterAll: Avoid crashes due to hook errors.Before/After: Improved hook error handling.BeforeCall/AfterCall,BeforeRun/AfterRun: Minor changes.
Removed
- Drop support for dash 0.5.3 due to unstable bug.
- Drop support for busybox < 1.20.0 due to unstable bug.
Fixed
- Fixed a bug that "Parameter is not set" error in word modifier.
- Fixed a bug that satisfy matcher succeed even syntax error.
- Fixed a bug that can not CTRL-C with parallel execution on zsh.
- shellspec-syntax-check.sh: Some minor bug fixes.
0.26.1
Added
- Added
--dockeroption. (EXPERIMENTAL)
0.26.0
Added
- Added
Mockhelper (command-based mock). - Added
%preservedirective. - Added
--sandbox,--sandbox-pathoption. - Added
--pathoption.
Fixed
- Workaround when the Windows version of
sort.exeis executed.
0.25.0
Added
- Coverage support for zsh and ksh. (#62)
- Respect
NO_COLORenvironment variable. - Support busybox-w32 ash for windows.
- Added
Assertexpectation to assert side effects of system environment. - Added
Dumphelper - dump stdout, stderr and status for debugging. - Added
lineandwordsubject. (of stdout (output)can be omitted now) - Added
--log-fileoption to specify log file for%loggerand trace. - Implement
--xtrace(--xtrace-only) feature.
Changed
- Upgrade to alpine 3.12 for docker image and officially release
shellspec/kcovdocker image. - Separate a file descriptor for reporting and stdout to able to use
echoin specfile. - Minor specification change of
resultmodifier andsatisfymatcher. -roption is now a short option for--repair, not--require.- Use [debian/eol(https://hub.docker.com/r/debian/eol/) docker images for old debian tests.
Fixed
- Before/After hooks should not consume stdin data (#82)
0.24.3
Fixed
- Fixes BeforeAll / AfterAll to share states