Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn Testing for Web Development

via Codecademy

Overview

Prepare for a new career with $100 off Coursera Plus
Gear up for jobs in high-demand fields: data analytics, digital marketing, and more.
Build better and more maintainable web applications through test-driven development.

### Why Learn Testing for Web Development?
Testing is essential for web development. A good test suite for a web application allows you to confidently build new features without breaking old ones and provides clear documentation for the rest of your team.

A good test suite, however, requires smart design and proficiency with automated tools. These skills are so important to high quality software that many teams in the tech industry employ engineers dedicated to testing.

### Take-Away Skills:
This course will teach you how to test your application at the model and server levels, including tests for dynamic HTML content and other API responses. You'll test Express applications with the SuperTest library and use Mongoose to manage a database.

In addition to learning how to write tests for servers and databases, you'll also gain some familiarity with the back-end of web applications and MongoDB.

Syllabus

  • Learn Feature Testing With TDD: Learn feature development for a full-stack web application by writing JavaScript tests that use headless browsing to simulate user interaction.
    • Lesson: TDD Feature-Level Tests
    • Project: Quote Keeper
    • Quiz: TDD Feature-Level Tests
  • Outside-in TDD: Learn about the different layers of the testing pyramid in full-stack web applications.
    • Article: The Testing Pyramid
    • Article: Outside-In Test-Driven Development
  • Learn Model Testing with TDD: Learn the skills to create the model layer of a web application using Mongoose and TDD.
    • Lesson: Mongoose Fundamentals
    • Lesson: Model Testing Patterns
    • Project: Quote Keeper: Model Layer
    • Quiz: Mongoose Fundamentals
    • Quiz: Model Testing Patterns
  • Learn Server Testing with TDD: Learn to use test-driven development to create a JavaScript server using the Express framework.
    • Lesson: Server Testing Stack
    • Lesson: Server Testing Patterns
    • Project: Quote Keeper: Server Layer
    • Quiz: Server Testing Stack
    • Quiz: Server Testing Patterns

Reviews

4.1 rating at Codecademy based on 15 ratings

Start your review of Learn Testing for Web Development

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.