Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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()

like image 860
Ryhot Avatar asked Oct 05 '22 16:10

Ryhot


1 Answers

Setup is called before every test method and teardown is called after every test method. So the answer is option 1.

like image 64
maszter Avatar answered Oct 10 '22 03:10

maszter