shunit2
shunit2 copied to clipboard
assertDeepEquals (arrays)
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.