Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
PluralSight audition
1. Automated tests in
hybrid mobile apps
Wennder dos Santos | Microsoft MVP
https://wenndersantos.github.io
@wenndersantos
2. What are automated tests?
• Code that tests code
• The best way to prevent bugs in our apps
• Automates the entire testing process that you already do
manually
• Lots of gains, like the possibility to run hundreds of tests in just
a seconds and guarantee that the logic layer is working as
expected.
3. Types of Automated Testing
• Unit test
• Integration test
• e2e test
• etc.
4. Unit Test
• Test an unit of code
• Verify if the methods are working as expected
• Runs very quickly
6. Jasmine
• Javascript BDD test framework
• Most popular choice to testing Angular apps
• Simple syntax
• Easy organization of tests
• Runs in multiple browsers
7. Karma
• Test runner created by the Angular team
• Simple to configure
• Easy debugging
• Continuous Integration
8. Summary
• Automated tests are executed faster than
manual tests
• Bugs can be prevented with automated tests
• Automated tests should always be executed
after a change in production code