This question has been revolving on my mind from quite some time. Do you develop one method for one test scenario or club similar scenarios in one method and develop automated tests for it. Both approaches have their pros and cons. For example consider you are writing GUI level automated tests and are validating whether application has certain elements on page or not, and if it succeeds then you proceed with more tests now do you do something like this -
testGUIElements() {
Assert Element1;
Assert Element2;
Assert Element3;
}
or do you do something like -
testElement1() {
}
testElement2() {
}
testElement3() {
}
I am not writing my approach here to avoid getting biased answers... I must mention that I am not a developer and has been hard core manual QA in my career.
n.b. I modified the question to make it more clear, hopefully :)