If you should only have one assertion per test; how to test multiple inputs?
- by speg
I'm trying to build up some test cases, and have read that you should try and limit the number of assertions per test case.
So my question is, what is the best way to go about testing a function w/ multiple inputs. For example, I have a function that parses a string from the user and returns the number of minutes. The string can be in the form…