Robert 'Callahan wrote:
If you mean specifically test cases, then I have to say that I've met
several Mozilla QA volunteers and staff who are far better at writing
test cases than I am. Not to mention the fact that most of the bugs that
I fix come have decent test cases attached before I look at them.
It seems to me that there are really two different kinds of test cases
relevant here. There are the layout test cases on the one hand, and unit
tests for most other modules on the other hand.
For layout, all you really need is input, you don't actually write the
test. You just compare before and after (which is, incidentally, a
problem in this algorithm, because it doesn't tell you whether the
testcase is correct, only that it didn't change)
But for other modules, you can't just provide input -- you usually want
to test an API, that it does what it should, that it doesn't crash, etc.
So you need to write some code to do that.
I don't think these two kinds can be considered the same
dev-quality mailing list
dev-quality (AT) lists (DOT) mozilla.org