1
Name:
Anonymous
2010-07-28 3:25
Test Suite Complete
===========================================================
Total Tests: 836
Total Time: 10:03
Coverage: 92%
Total Tests Run: 836
Total Ignored Tests: 0
Total Failed Tests: 0
Total Passed Tests: 836
Am I ENTERPRISE QUALITY yet? Also, feels good man.
2
Name:
Anonymous
2010-07-28 4:23
How often do you find bugs in your code that elude your test suite?
3
Name:
Anonymous
2010-07-28 4:28
This thread is stupid and you should feel stupid.
4
Name:
Anonymous
2010-07-28 4:53
I don't understand how to write unit tests :|
5
Name:
Anonymous
2010-07-28 5:01
>>2
User testing and bug reports. And when a user identified bug is located, an automated regression test is added to the test suite to make sure it never comes back.
6
Name:
Anonymous
2010-07-28 9:05
>>5
But... you've written the code, how could you not account for all execution paths?
7
Name:
Anonymous
2010-07-28 9:10
Unit testing is bad, and you should feel bad
http://www.youtube.com/watch?v=8W5Jd_wzB90
"Program testing can be used to show the presence of bugs, but never to show their absence" - Edsger Dijkstra
8
Name:
Anonymous
2010-07-28 16:57
So who's going to write the automatic debugger/tester that forks every time it comes across a conditional statement?
9
Name:
Anonymous
2010-07-28 17:06
>>8
What's that going to help?
if(hma != NULL)
*hma = MAGIC_COOKIE;
else
errval = E_HERPDERP;
10
Name:
Anonymous
2010-07-28 17:12
>>7
Please write his name properly
Edsger Dickstrap
11
Name:
Anonymous
2010-07-28 17:16
>>9
[code]It would obviously set
hma to
NULL for one forked child and some non-
NULL value for the other (leaving it alone if it already is).
[/code]
19
Name:
Anonymous
2010-07-29 7:33
>>18
Yeah, it usually works ...
Well, how about this?
[/co[#][/#]de]