illustration for End to End Testing with Google's Puppeteer and Jest

End to End Testing with Google's Puppeteer and Jest

Instructor

Tyler Clark
34m closed-captioning
Updated 3 weeks ago
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.3
790
people completed
Bookmark
Download
RSS

End-to-end testing assures you of a few things: that all the integrated pieces of an application properly function, all those pieces work together as expected, and your tests include and simulate real-user scenarios — something unit and integration tests just don't do.

This course introduces you to two great tools for E2E testing:

  • Puppeteer opens and runs applications in a Chromium browser and performs the actions it's given.
  • Jest asserts that the integrated pieces work as expected and that add-on libraries like Faker and pixelmatch take our tests to the next level.

Over 9 lessons, we will create common application features and use Puppeteer and Jest to run different types of tests against them. You'll get practice using these tools to render content, mimic user activity, automate tests, and measure the overall performance of your application.

Learner Reviews

  • Emerson Volkov
    2 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    How will you use what you learned from this course?

    The course need to be updated because some of the nodejs npm package are to old, I believe that some of the step that you use to get the job done can be simplified with new features in new npm package that are available in the npm ecosystem.

    I thank you for this amazing course, short and what I needed.

  • Tre' Codez
    2 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Super useful

    As always egghead puts out understandable chunks of knowledge, easy to assimilate and put in to practice.

  • Greg
    2 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What would make this course a 7 for you?

    Updated content to reflect newer Puppeteer releases

  • Alejandro Vales
    2 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What would make this course a 7 for you?

    It's really nice, very useful, but not deep enough in some items, like changing pages and other things that could happen while testing the app.

    As introduction, is brilliant, and really quick and straight to the point, as we all like the videos to be

  • Acatl Pacheco
    2 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What would make this course a 7 for you?

    Mention Description of the goal at the beginning of each video , on full screen continuous play mode it’s hard to know where it’s going to

  • James Mulholland
    2 years ago
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What would make this course a 7 for you?

    Good content that covered everything I wanted. Would be great if the examples were slightly clearer, however. The Star Wars API example felt slightly contrived, for example.

    Overall, keep it up!

Course Content

34m • 9 lessons

    You might also like these resources:

    illustration for Introduction to Cloudflare Workers

    Introduction to Cloudflare Workers

    Kristian Freeman・36m・Course

    Become familiar with the Workers CLI wrangler that we will use to bootstrap our Worker project. From there you'll understand how a Worker receives and returns requests/Responses. We will also build this serverless function locally for development and deploy it to a custom domain.

    illustration for Create an eCommerce Store with Next.js and Stripe Checkout

    Create an eCommerce Store with Next.js and Stripe Checkout

    Colby Fayock・1h 4m・Course

    This is a practical project based look at building a working e-commerce store using modern tools and APIs. Excellent for a weekend side-project for your developer project portfolio

    illustration for Practical Git for Everyday Professional Use

    Practical Git for Everyday Professional Use

    Trevor Miller・1h・Course

    git is a critical component in the modern web developers tool box. This course is a solid introduction and goes beyond the basics with some more advanced git commands you are sure to find useful.