Let's start this chapter with testing; most people think testing is boring. Guess what, they are mostly right! Testing can be fun in that you get to try and break your code, but it can sometimes be tedious work. However, it can help you catch mistakes before your customers do, and as a bonus, it can prevent you from making the same bug occur multiple times. How much is your reputation to your clients or customers worth? A little tedious work could mean the difference between a Triple-A application, and a mediocre application.
In this chapter, we will cover the following topics:
- Angular Testing Framework
- NativeScript Testing Framework
- How to write tests using Jasmine
- How to run Karma tests