Best Frontend Courses LogoBest Frontend Courses
    • AI
    • Accessibility
    • Algorithms
    • Angular
    • Architecture
    • Astro
    • Auth
    • CSS
    • Firebase
    • Game Development
    • Gatsby
    • Git
    • GraphQL
    • HTML
    • Ionic
    • JavaScript
    • Jotai
    • MobX
    • Native
    • Netlify
    • Next.js
    • Nx
    • Performance
    • Prisma
    • React
    • React Native
    • Redux
    • Remix
    • Rx.js
    • SCSS/Sass
    • SolidJS
    • Storybook
    • Supabase
    • Svelte
    • Tailwind
    • Testing
    • TypeScript
    • Vue.js
    • XState
    • jQuery
    • p5.js
  • Add Course
  • Login

Copyright ยฉ 2025Best Frontend Courses. All rights reserved.

  • Categories
  • Instructors
  • Terms of Service
  • Privacy Policy
  • Feedback
  1. Home
  2. Testing
  3. JavaScript Testing Practices and Principles
Testing / JavaScript
Video

JavaScript Testing Practices and Principles

by Kent C. Dodds
Enroll
๐Ÿ•น๏ธ Levels: ๐Ÿ˜Ž Intermediate
โณ Duration: 3.5 hours
๐Ÿค‘ Price: Subscription
๐Ÿง‘โ€๐Ÿ’ป Learning Platform: Frontend Masters
๐Ÿง‘โ€๐ŸŽ“ Certificate: No

๐Ÿ”‘ Key Learning Outcomes

  • Understand the principles behind different types of testing, including unit, integration, and end-to-end (E2E) tests.
  • Learn to write maintainable and effective tests using the Jest testing framework.
  • Apply test-driven development (TDD) practices to develop new features and identify bugs early.
  • Gain proficiency in mocking dependencies and testing complex JavaScript applications.
  • Explore strategies for improving code coverage and writing tests that boost confidence in your codebase.

๐Ÿ‘จโ€๐Ÿซ About the Course

This course provides a comprehensive guide to JavaScript testing practices and principles. Taught by Kent C. Dodds, it covers the fundamentals of different testing types and best practices. Youโ€™ll learn to write unit and integration tests using Jest, mock dependencies, and apply test-driven development to ensure your applications are robust and error-free before reaching users.

๐ŸŽฏ Target Audience

  • JavaScript developers looking to improve their testing skills.
  • Developers interested in adopting test-driven development (TDD).
  • Frontend and backend developers working with Node.js and React applications.
  • Anyone seeking to improve the reliability and maintainability of their code.

โœ… Requirements

  • Familiarity with JavaScript and basic programming concepts.
  • Understanding of Node.js and web development basics is beneficial but not required.

๐Ÿ“– Course Content

Introduction to Testing
Gain an overview of testing principles, testing frameworks, and the importance of automated testing.

Unit Testing with Jest
Learn to write and run unit tests using Jest, including test-driven development practices.

Mocking in Jest
Explore different mocking techniques, including monkey patching, jest.spyOn, and using mock modules.

Testing Practices and Patterns
Understand advanced topics like code coverage, test factories, and best practices for writing clean and maintainable tests.

Integration Testing
Learn to write integration tests for Node.js servers, focusing on combining and testing multiple components together.

Test-Driven Development
Practice TDD by writing tests before code, and see how it helps in building robust applications.

Update Course

Drop a comment

JavaScript Testing Practices and Principles by Kent C. Dodds

Log in to leave a feedback

Login

๐Ÿ‘‡ Psst! Interested in More Testing Courses?

TestingTesting

Web App Testing & Tools
Video

by Miลกko Hevery

๐Ÿ•น๏ธ Levels: ๐Ÿ˜Ž Intermediate

โณ Duration: 4 hours

๐Ÿค‘ Price: Subscription

๐Ÿง‘โ€๐Ÿ’ป Learning Platform: Frontend Masters

TestingTestingReduxReduxTypeScriptTypeScript

Confidently Testing Redux Applications with Jest & TypeScript
Video

by Jamund Ferguson

๐Ÿ•น๏ธ Levels: ๐Ÿ˜Ž Intermediate

โณ Duration: 1.5 hours

๐Ÿค‘ Price: Free

๐Ÿง‘โ€๐Ÿ’ป Learning Platform: Egghead.io

TestingTesting

Learn Testing for Web Development: Model Testing
WrittenInteractive

๐Ÿ•น๏ธ Levels: ๐Ÿ˜Ž Intermediate

โณ Duration: 2 hours

๐Ÿค‘ Price: Free

๐Ÿง‘โ€๐Ÿ’ป Learning Platform: Codecademy

๐Ÿ”™ Back to Testing Category