Reputation: 325
what is the flow of the program in robotium.I mean are setup() and teardown() called for every testcase separately ??
option 1
setup()
TC01
teardown()
setup() TC02 teardown()
or option2
setup() TC01 TC02 TC03 teardown()
Upvotes: 5
Views: 720
Reputation: 3720
Setup is called before every test method and teardown is called after every test method. So the answer is option 1.
Upvotes: 4