Android Testing

I am new to Android testing platforms, would like to know the differences between existing test platforms: Monkey, CTS, Instrumentation Framework and Robotium?

+3
source share
2 answers

Instrumentation is the opposite category of unit-testing.

The structure provides interceptions for hardware testing, but you will need an additional third-party structure to really get started.

Robotium - . "", , "" "," " .. , , , . .

Android, "" , , , .., .

Android Monkey , script. , , , , . 100000 , , . Robotium, ( ). , ( , ).

CTS .

, ?

+7

:

, . Android, .

Pyramid testing

Android :

Functional

  • - "" , , , - .

: .

  • Espresso ( Google, , Hamcrest)
  • Robotium

Unit

  • JUnit4
  • Mockito, Powermock, .
  • , Hamcrest, Fest, AssertJ
  • Robolectric ( Android )
0

Source: https://habr.com/ru/post/1759461/


All Articles