Skip to content

Latest commit

 

History

History
46 lines (42 loc) · 1.99 KB

CHANGELOG.md

File metadata and controls

46 lines (42 loc) · 1.99 KB
  • v0.9.4

    • clarify ttt0, add overridable methods (including _parse_args); add --t3st-shell, --t3st-eval (tests can be reconfigured using only prove :: ARGS..)
    • add specfmt= and ..._g_specfmt (default: '- $1', can be '- $*', can use v: vars)
    • faster dump_str: call perl only when needed, sed alternative if no perl found / k9s0ke_t3st__perl = ''. Impacts diff output, test name (with specfmt='$*').
  • 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)
  • v0.9.2

    • git-t3st-setup: add t3st testing to a project with a one-liner
    • repeat=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,}* replaces notok_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
  • v0.9.0

    • TAP output (prove)
    • self-test suite
    • _one / _me tests
    • rc={ int | '-cmp int' } expected exit status
    • in[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