Tests failing?
-
Just noticed that in the Unit Tests I've written, someone as taken a novel approach to refactoring. When refactoring causes a test to fail, his approach is simply to comment out the lines that cause the failure. I now need to go and check nothing has broken in the process - which seems unlikely.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
-
Just noticed that in the Unit Tests I've written, someone as taken a novel approach to refactoring. When refactoring causes a test to fail, his approach is simply to comment out the lines that cause the failure. I now need to go and check nothing has broken in the process - which seems unlikely.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
-
d@nish wrote:
What is wrong with problem elimination?
Tell that a heart surgeon. You: "Dr. I'm having problems with my heart lately." Dr: "Ok son, don't you fear, I'll cut that heart out and you'll no longer have any problems with your heart" You: "Wow Doc, that sounds reasonable. Slice away!" I'd appreciate it if you would let me watch and video the procedure. After the operation I've planned in a small interview with the patient, to see how he liked the procedure. :~ Cheers!
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
-
d@nish wrote:
What is wrong with problem elimination?
Tell that a heart surgeon. You: "Dr. I'm having problems with my heart lately." Dr: "Ok son, don't you fear, I'll cut that heart out and you'll no longer have any problems with your heart" You: "Wow Doc, that sounds reasonable. Slice away!" I'd appreciate it if you would let me watch and video the procedure. After the operation I've planned in a small interview with the patient, to see how he liked the procedure. :~ Cheers!
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
-
No, no, no! There was no mention of replacing your heart with something that works to the same effect. Just a little heartectomy, Inka style if you'd prefer that. Cheers!
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
-
No, no, no! There was no mention of replacing your heart with something that works to the same effect. Just a little heartectomy, Inka style if you'd prefer that. Cheers!
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
-
Just noticed that in the Unit Tests I've written, someone as taken a novel approach to refactoring. When refactoring causes a test to fail, his approach is simply to comment out the lines that cause the failure. I now need to go and check nothing has broken in the process - which seems unlikely.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
The only thing more useless than a test that always fails is a test that always succeeds.