Bug Fix: (#12)
- (zsh)
t_success
andt_error
did not work properly because zshoptionshwordsplit
was not set
Feature:
- export
SHOVE_SHELL
variable to detect running shell inside test scripts
Improve:
- Fix problem of
readlink
to work with relative or nested links #9
Feature:
- Add new grouping syntax
t::group "$msg" ({ ... })
which is compatible with the old oneT_SUB ((...))
#6
Deprecate:
- To use the old grouping syntax
T_SUB "$msg" (( ... ))
is now deprecated
Feature:
- New testing functions #5
- String:
t_present
,t_blank
- File/directory:
t_exist
,t_file
,t_directory
,t_symlink
- Algebraic:
t_eq
,t_ne
,t_gt
,t_ge
,t_lt
,t_le
- String:
Bug Fix:
t_is
,t_isnt
: Add quote to arguments for separated strings #5
Enhance:
- Support symlink for
bin/shove
by fetching its path using readlink #4
Internal Change:
- Move
lib/t.shrc
tolib/shove/t.shrc
#4
Change for Dependency:
- Support new format of
clam.spec
for clenv v0.3 #4
Improve:
- Check target file existence of
shove
command #3 BABAROT
Internal Change:
- Add test task by shpec
- Remove unused variable to get running SHELL
Minor Improve:
- Add indent to temporary test scripts according to grouping of tests.
Minor Bug Fix:
- Fix format option of
date
command to make temporary test scripts by minutes.
Feature:
- Introduce special syntax
T_SUB <name> (( ... ))
for grouping tests to reduce verbose writings and to make test codes more readable.
Feature:
- Keep temporary test scripts for a while under working directory for troubleshooting.
Improve:
- Add ksh to test targets.
- Don't use
local
keyword for variable declaration because it's not POSIX and not supported in ksh.
Change:
shove
now exits 1 when test fails.
Tiny Bug Fix:
- "dash" was taken as "sh" at
t_init()
. (But no test uses the shell variable.)
Improve:
- Quote argument string for compatibility.
Initial release.