Modern Web Testing with TestCafe

- First

Bog
  • Format
  • Bog, paperback
  • Engelsk
  • 168 sider

Beskrivelse

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 TestCafeDiscover useful tips and best practices for building production-ready and fault-tolerant testsWrite clean and maintainable tests by refactoring your codebase using PageObject pattern

Book Description

TestCafe 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 SeleniumFind out how to set up a TestCafe test environmentRun TestCafe with command-line settingsVerify and execute TestCafe code in the browserAutomate end-to-end testing with TestCafe using expert techniquesDiscover best practices in TestCafe development and learn about the future roadmap of TestCafe

Who this book is for

¿The 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.

Læs hele beskrivelsen
Detaljer
  • SprogEngelsk
  • Sidetal168
  • Udgivelsesdato30-09-2020
  • ISBN139781800200951
  • Forlag Packt Publishing
  • FormatPaperback
  • Udgave1
Størrelse og vægt
  • Vægt327 g
  • Dybde0,9 cm
  • coffee cup img
    10 cm
    book img
    19,1 cm
    23,5 cm

    Findes i disse kategorier...

    Velkommen til Saxo – din danske boghandel

    Hos os kan du handle som gæst, Saxo-bruger eller Saxo-medlem – du bestemmer selv. Skulle du få brug for hjælp, sidder vores kundeservice-team klar ved både telefonerne og tasterne.

    Om medlemspriser hos Saxo

    For at købe bøger til medlemspris skal du være medlem af Saxo Premium, Saxo Shopping eller Saxo Ung. De første 7 dage er gratis for nye medlemmer. Medlemskabet fornyes automatisk og kan altid opsiges. Læs mere om fordelene ved vores forskellige medlemskaber her.

    Machine Name: SAXO081