Skip to content

Release 2.1

Latest
Compare
Choose a tag to compare
@holmesjr holmesjr released this 22 Aug 01:56
· 19 commits to master since this release
ad72e1e

New for 2.1

Supporting other coding styles/formats

old format: describe "title" "$( ... )"
alt format: describe "title" && { ...  } (most readable but variables are not locally scoped)
alt format2: describe "title" && ( ... ) (compromise?)

Assertions on expressions

[[ some_expression ]]
should_succeed
[[ some_expression ]]
should_fail

Cleaner support for arrays and vars - pass by reference

expect_var varname to_be 5
expect_array arrayname to_contain 5

Unofficial bash strict mode

http://redsymbol.net/articles/unofficial-bash-strict-mode/

Travis-CI