Yes. Check out the word itself. Kent published the famous quote from the poem of that same name with his original article, although the word is just the Latin for "objects of desire", hence desirable properties of tests. There's some good Wiki out there on the cultural background if you have the time and interest in it (I did).
So both tests were covering calculate_for(hours, rate). Would it have been better for the calculate(employee) test to have just tested that it matched the output of calculate_for(hours, rate) so that you only have one failure in each case? Or is your test just parroting implementation at that point?
desire: something you want, desiderata: latin for "multiple desires", "wishlist"? test wishlist? idk.
Yes. Check out the word itself. Kent published the famous quote from the poem of that same name with his original article, although the word is just the Latin for "objects of desire", hence desirable properties of tests. There's some good Wiki out there on the cultural background if you have the time and interest in it (I did).
So both tests were covering calculate_for(hours, rate). Would it have been better for the calculate(employee) test to have just tested that it matched the output of calculate_for(hours, rate) so that you only have one failure in each case? Or is your test just parroting implementation at that point?