Hi all,
Suppose I want to
test the method doSomething() of the class Biz; I create a test class BizTest.
If I want to write many test methods to test doSomething(), how should I name these methods? I am thinking of some thing like: testDoSomething_1(), testDoSomething_2() ... but it will look like a automatically generated test (and not a test written by a person); furthermore, it will not tell the nature of each test (e.g. what the test method testDoSomething_1() is supposed to do).
What do you think about that? Or should I write only 1 method testDoSomething() and put a lot of assertxxxx inside?
Thanks for your advice.