-
v0.9.4
- clarify
ttt0
, add overridable methods (including_parse_args
); add--t3st-shell
,--t3st-eval
(tests can be reconfigured using onlyprove :: ARGS..
) - add
specfmt=
and..._g_specfmt
(default:'- $1'
, can be'- $*'
, can usev:
vars) - faster
dump_str
: call perl only when needed,sed
alternative if noperl
found /k9s0ke_t3st__perl = ''
. Impactsdiff
output, test name (withspecfmt='$*'
).
- clarify
-
v0.9.3
- add
t3st-ttt0.sh
opinionated framework on top of library t3st.t
,hello-t3st.t
: recommended scaffolding, help- create new tests with
git t3st-new
/make -C t/ new
- t3st.mk makefile (
t3st-prove
default target) k9s0ke_t3st_me
: API changed; new args:FILE [exec=..] [*=*]..
(removed "-- ..
")- save test commands; add debug flag to preserve workdir (
..._g_keep_tmp=true
) - add
todo=
... syntactic sugar - auto-skip explicit
errexit=true
if broken (posh
)
- add
-
v0.9.2
git-t3st-setup
: addt3st
testing to a project with a one-linerrepeat=N
tests,k9s0ke_t3st_g_repeat
global- skipped tests (
k9s0ke_t3st_skip
); skip-all-after-failure mode - spec defaults to command's first word
_one:
: syntax:ARG+=...
(append to default / current arg value)- stderr as comment lines
diff_on={ok,|notok,}*
replacesnotok_diff
- better support for subshells / pipelines (
{save,load}_cnt
) - support dubious
in='' nl=true
for consistency - add
k9s0ke_t3st_mktemp
(fast mktemp + cleanup)
-
v0.9.1
- zsh support without
-y
- errexit not TODO anymore;
posh
will fail - github mirror
- zsh support without
-
v0.9.0
- TAP output (prove)
- self-test suite
_one
/_me
testsrc=
{ int | '-cmp int' } expected exit statusin[file]=
,out[file]=
input / expected output specs- automatic test counter
- errexit (
set -e
) support;set -u
"just works" - pipe / redirect into tests
- tests in subshells
- actual vs expected diff
- bailout, directives
- no namespace pollution
- docs == code