Frontend Testing: Mapping Out the Territory

Invalid data source. Please correct the following errors:
  • The specified Sheet Name (Workshops) was not found. Please try again with the correct one from the following list:\nWindows Server 2019 Microsoft Azure 2 React Microsoft 365 Projektų valdymas Asmeninis efektyvumas Scrum ITIL4F ITIL4P ITIL4L

Course overview:

Frontend testing is impossible! I don’t have time for it! It makes my productivity tank! My manager won’t allow me to do it! These are all excuses for not writing tests for your frontend code. In the interest of time, I will focus on the real reasons – I don’t know how, I’m afraid to start – and alleviate the fear by just writing tests and showing how easy it is.. I will give a recipe that you can follow to ease your fear of the unknown—writing tests. I will discuss the various kinds of testing and how they fit together in a coherent way, but most importantly – we will all exercise and write all the different kinds of tests we learned on a sample application.

Objectives

Write a complete test suite for any frontend application that covers all aspects of frontend applications.

Target audience

Frontend developers and testers that want to write frontend tests along with the developers. Note that JavaScript proficiency is necessary.

Technical requirements

A Windows, Linux, or MacOS machine with Git, Node.js (versions from 12.x and higher), and preferably Visual Studio Code (although any editor or IDE is OK).

Duration: 1 day

Agenda:

Part 1: What is test automation

  • Introduction to testing
  • Testing methodologies
  • Unit tests using Mocha
  • Integration tests using JSDOM
  • End to End Browser Automation Tests using Cypress
  • Visual Testing using Applitools