Modern Web Testing with TestCafe - Dmytro Shpakovskyi

Modern Web Testing with TestCafe

Get to grips with end-to-end web testing with TestCafe and JavaScript
Buch | Softcover
168 Seiten
2020
Packt Publishing Limited (Verlag)
978-1-80020-095-1 (ISBN)
29,90 inkl. MwSt
TestCafe is a lightweight end-to-end solution based on JavaScript and TypeScript. This quick and functional guide is your introduction to learning and implementing the core concepts of TestCafe and building a complete end-to-end test suite through step-by-step guidance and expert practices.
A no-nonsense guide to getting started with TestCafe quickly by building a complete test suite while learning the core concepts of test automation with TestCafe

Key Features

Build a proof-of-concept project to demonstrate your familiarity with TestCafe
Discover useful tips and best practices for building production-ready and fault-tolerant tests
Write clean and maintainable tests by refactoring your codebase using PageObject pattern

Book DescriptionTestCafe is an open source end-to-end testing framework that combines unmatched ease of use with advanced automation and robust built-in stability mechanisms. This book is a comprehensive, project-based introduction to TestCafe that will show you how to use the TestCafe framework and enable you to write fast and reliable tests; plus you’ll have a proof of concept ready to demonstrate the practical potential of TestCafe.

You’ll begin by learning how to write end-to-end web tests using the TestCafe syntax and features of the TestCafe framework. You’ll then go from setting up the environment all the way through to writing production-ready tests. You’ll also find out how to build a sample set of tests in a step-by-step manner and use TestCafe to log in to the website, verify the elements present on different pages, create/delete entities, and run custom JavaScript code. As you advance, you’ll delve into several stages of refactoring that will take you through the showcase setup/teardown and PageObject patterns. While this test suite is relatively simple to build, it showcases some of the most prominent features of TestCafe. Finally, this TestCafe book will show you how the tests can be run on a free and simple-to-use website, without requiring you to build and deploy your own servers or backend services.

By the end of this book, you’ll have learned how to write and enhance end-to-end tests with TestCafe to solve real-world problems and deliver results.

What you will learn

Understand the basic concepts of TestCafe and how it differs from classic Selenium
Find out how to set up a TestCafe test environment
Run TestCafe with command-line settings
Verify and execute TestCafe code in the browser
Automate end-to-end testing with TestCafe using expert techniques
Discover best practices in TestCafe development and learn about the future roadmap of TestCafe

Who this book is forThe book is for QA professionals, test engineers, software engineers, and test automation enthusiasts looking for hands-on guidance on learning about TestCafe. This book is also great for full-stack developers who want to learn more about new tools for testing their code. The book assumes a basic understanding of JavaScript, Node.js, HTML, CSS, and some simple Bash commands.

Dmytro Shpakovskyi has over 10 years of experience in the quality assurance (QA), software testing, and software-as-a-service industries. Skilled in end-to-end, load, and API test automation, he is certified by the ISTQB. During his successful career, Dmytro has led on QA automation for a platform of 60+ highly scalable web applications and services, built and maintained numerous test automation frameworks, managed distributed teams of QA automation engineers, mentored, and helped to convert manual test engineers to test automation. You can often find Dmytro creating and open-sourcing new test automation frameworks, mentoring other QA engineers, or exploring new tools and techniques for automated testing.

Table of Contents

Why TestCafe?
Exploring TestCafe Under the Hood
Setting Up the Environment
Building a Test Suite with TestCafe
Improving the Tests
Refactoring with PageObjects
Findings from TestCafe

Erscheinungsdatum
Verlagsort Birmingham
Sprache englisch
Maße 75 x 93 mm
Themenwelt Informatik Software Entwicklung Qualität / Testen
Informatik Software Entwicklung SOA / Web Services
Mathematik / Informatik Informatik Web / Internet
ISBN-10 1-80020-095-1 / 1800200951
ISBN-13 978-1-80020-095-1 / 9781800200951
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Aus- und Weiterbildung zum Certified Tester – Foundation Level nach …

von Andreas Spillner; Tilo Linz

Buch | Hardcover (2024)
dpunkt (Verlag)
39,90
Aus- und Weiterbildung zum ISTQB® Advanced Level Specialist – …

von Manfred Baumgartner; Stefan Gwihs; Richard Seidl …

Buch | Hardcover (2021)
dpunkt (Verlag)
39,90
Die Softwaretest-Normen verstehen und anwenden

von Matthias Daigl; Rolf Glunz

Buch | Hardcover (2024)
dpunkt (Verlag)
44,90