Search code examples
androidunit-testingrobotiumandroid-testing

What is the significance of @Smoke in Robotium? When should it be used?


I'm new to Robotium and in the NotePadTest.java example, I encountered @Smoke annotation. What is the purpose of using @Smoke? For example, we use @Override when we are overriding a method, or @implements when we are implementing methods of an interface. My question is why @Smoke? Thanks.


Solution

  • It's a reference to smoke testing. It should be a set of fast tests that can be run very often to catch any obvious problems early.