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.
shUnit2 is a xUnit based unit test framework for Bourne based shell scripts.
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.