shpec
shpec copied to clipboard
assertions should check arguments and raise errors instead of failures
Test writers should get some help from shpec to highlight assertions that would always fail due to wrong argument counts, types, or values.
Examples:
- Empty file names
- numeric comparisons with non-numeric parameters.
- missing parameters