shpec icon indicating copy to clipboard operation
shpec copied to clipboard

assertions should check arguments and raise errors instead of failures

Open hlangeveld opened this issue 10 years ago • 0 comments

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

hlangeveld avatar May 15 '15 18:05 hlangeveld