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

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.
    • TDD Feature-Level Tests
    • Quote Keeper
    • TDD Feature-Level Tests

  • Outside-in TDD: Learn about the different layers of the testing pyramid in full-stack web applications.
    • The Testing Pyramid
    • 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.
    • Mongoose Fundamentals
    • Model Testing Patterns
    • Quote Keeper: Model Layer
    • Mongoose Fundamentals
    • Model Testing Patterns

  • Learn Server Testing with TDD: Learn to use test-driven development to create a JavaScript server using the Express framework.
    • Server Testing Stack
    • Server Testing Patterns
    • Quote Keeper: Server Layer
    • Server Testing Stack
    • Server Testing Patterns

Reviews

Start your review of Learn Testing for Web Development

Never Stop Learning.

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