Characteristics of Web Applications
- Front end is in JavaScript
- Client-Server Model
- Everyone can access your application
- Front End → Runs in the browser
- Web applications may be asynchronous
JavaScript Unit Testing (without a framework)
- Design for testability
- Writing the Tests
- Choosing a unit testing framework
javaScript Unit Testing (with React and Jest)
- CODE
- Tests for utility functions
- Tests for the user interface
- Snapshot Testing
- End-to-end Testing
Page Objects
Gives us abstraction for single pages or even fragments of pages