5

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

Ryhot
  • 325
  • 4
  • 12

1 Answers1

4

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

maszter
  • 3,680
  • 6
  • 37
  • 53