kward / shunit2

shUnit2 is a xUnit based unit test framework for Bourne based shell scripts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

assertDeepEquals (arrays)

markasoftware opened this issue · comments

Some advanced scripts include arrays and associative arrays. It is easy to compare them, just evaluate declare -p var_name on each side, then do assertEquals on the results.