Ryhot
Ryhot

Reputation: 325

flow from setup to teardown in robotium

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

Answers (1)

maszter
maszter

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

Related Questions