Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

The frontend testing pyramid

Preface

Acknowledgments

About this book

About the author

About the cover illustration

Chapter 1. Introduction to testing Vue applications

1.1. Defining testing

1.1.1. Manual testing

1.1.2. Automated testing

1.1.3. Testing pull requests on GitHub

1.2. Testing overview

1.2.1. Overview of end-to-end tests

1.2.2. Overview of unit tests

1.2.3. Snapshot testing

1.2.4. Combining test types effectively

1.2.5. Test-driven development

1.2.6. Learning when not to test

1.2.7. The fallacy of 100% code coverage

1.3. Writing a Hacker News application

1.4. Vue testing overview

1.4.1. The Vue instance

1.4.2. Templates and render functions

1.4.3. Understanding the Vue component system

1.4.4. Unit testing components

Summary

Chapter 2. Creating your first test

2.1. Understanding a Vue project structure

2.1.1. Understanding build tools

2.1.2. Using Vue CLI to generate a project

2.1.3. Understanding directory structure