Learn JavaScript Unit Testing
Offered By: Codecademy
Course Description
Overview
Learn to write unit tests in JavaScript with Mocha.
### Why Learn JavaScript Unit Testing?
Tests are essential for programmers! Errors in software are inevitable and costly. Testing enables programmers to catch more of their own bugs before deploying their code. Testing is so important that some developers write tests _before_ anything else, in a methodology known as test-driven development.
### Take-Away Skills:
You will learn the fundamentals of test-driven development, and the popular JavaScript testing library, Mocha. This course focuses on unit tests, which are the smallest and most specific types of software tests. After this course, you'll be ready to test larger software features with the course Learn Testing for Web Development.
### Note on Prerequisites:
Intermediate JavaScript is a prerequisite for this course. You should be comfortable with programming fundamentals, control flow, arrays, objects, and functions.
### Why Learn JavaScript Unit Testing?
Tests are essential for programmers! Errors in software are inevitable and costly. Testing enables programmers to catch more of their own bugs before deploying their code. Testing is so important that some developers write tests _before_ anything else, in a methodology known as test-driven development.
### Take-Away Skills:
You will learn the fundamentals of test-driven development, and the popular JavaScript testing library, Mocha. This course focuses on unit tests, which are the smallest and most specific types of software tests. After this course, you'll be ready to test larger software features with the course Learn Testing for Web Development.
### Note on Prerequisites:
Intermediate JavaScript is a prerequisite for this course. You should be comfortable with programming fundamentals, control flow, arrays, objects, and functions.
Syllabus
- Why Test?: Learn the benefits of software testing and the terminology to explain them.
- Lesson: Why Test?
- Project: Cake O'Clock
- Quiz: Why Test?
- Write Good Tests With Mocha: Learn to use the Mocha framework and the Node.js assert library to write, automate, and organize tests in Javascript.
- Lesson: Automate and Organize Tests
- Lesson: Write Expressive Tests
- Project: Rooster Regulation
- Quiz: Learn Mocha
- Learn Test-Driven Development With Mocha: Learners will practice test driven development to create their own JavaScript testing suite using Mocha.js.
- Lesson: Learn TDD With Mocha
- Project: Factorial Feature
- Quiz: TDD With Mocha
Taught by
Jiwon Shin
Related Courses
البرمجة الموجهة بالاختبارات المقبولةRwaq (رواق) Desarrollo de Aplicaciones Web: Prueba y Despliegue
University of New Mexico via Coursera Engineering Maintainable Android Apps
Vanderbilt University via Coursera Técnicas Avançadas para Projeto de Software
Instituto Tecnológico de Aeronáutica via Coursera TDD – Desenvolvimento de Software Guiado por Testes
Instituto Tecnológico de Aeronáutica via Coursera