O'Reilly logo

NativeScript for Angular Mobile Development by Nathanael J. Anderson, Nathan Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integration Testing with Appium

In the preceding chapter, we explored how to do unit testing, but unit testing doesn't allow you to test whether the button used in your app still actually runs a function, or what happens when the user swipes left. For that, we will need application testing or end-to-end testing. Well, let's start learning end-to-end testing; this is where testing can get complicated and fun.

In this chapter, we will cover the following topics:

  • Appium testing framework
  • Writing MochaJS, ChaiJS, and ShouldJS tests
  • How to find and interact with elements on the screen
  • How to run the tests
  • Travis and GitHub integration

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required