Search code examples
androidunit-testingjunitgestureswipe

How can I Unit Test Gestures in android?


I want to unit test a swipe left/right action on the screen in Android but I haven't been able to find any documentation on it. Can anyone lend a hand? Can it even be done?


Solution

  • Generally the touch will perform an action and you will be testing the action, not the touch itself.