Skip to content

Projects developed during the course "JavaScript Unit Testing - The Practical Guide" from Udemy | Projetos desenvolvidos durante o Curso "JavaScript Unit Testing - The Practical Guide" da Udemy

Notifications You must be signed in to change notification settings

megaVE/academind-vitest-jest-projects

Repository files navigation

Vitest and Jest Learning (Aprendizado de Vitest e Jest)

EN: Projects developed during the course "JavaScript Unit Testing - The Practical Guide" from Udemy

PT: Projetos desenvolvidos durante o Curso "JavaScript Unit Testing - The Practical Guide" da Udemy

https://www.udemy.com/course/javascript-unit-testing-the-practical-guide/

1 - Testing Basics (O Básico Sobre Testes)

  • Basic Testing Concepts (Conceitos Básicos de Testes)
  • 'test' and 'it' Functions (Funções 'test' e 'it')
  • 'expect' Function and its 'toBe' Methods (Função 'expect' e seus métodos 'toBe')
  • AAA Model (Modelo AAA)
  • Creating Contexts with 'describe' (Criando escopos com 'describe')

2 - Writing Good Tests (Escrevendo Bons Testes)

  • Code Refactoring for Testing (Refatoração de Código para Testes)
  • Writing More Tests (Escrevendo Mais Testes)

3 - Integration Tests (Testes de Integração)

  • Testing Complex Functions (Testando Funções Complexas)

4 - Advanced Testing Concepts (Conceitos Avançados de Testes)

  • Testing Callback Returns (Testes em Retornos Callback)
  • Testing Asyncronous Functions and Promises (Testes em Funções Assíncronas e Promises)
  • Testing Hooks (Hooks de Teste)
  • Testing Concurrency (Concorrência em Testes)

5 - Mocking and Spies (Mocks e Spies)

  • Creation of Spy Functions (Criação de Funções Spy)
  • Local and Global Usage of Mocking (Uso de Mocks Locais e Globais)
  • Temporary Function Overwritting with Mocks (Sobrescrita Temporária de Funções com Mocks)

6 - More on Mocking

  • Mocking Vanilla JavaScript Functions (Mockando Funções do JavaScript Padrão)
  • Selective and Local Mocking (Mocking Local e Seletivo)

7 - Frontend JavaScript Testing (Testes em Frontend JavaScript)

  • Exploring the JSDOM Environment (Explorando o Ambiente JSDOM)
  • Exploring the Happy-DOM Environment (Explorando o Ambiente Happy-DOM)

About

Projects developed during the course "JavaScript Unit Testing - The Practical Guide" from Udemy | Projetos desenvolvidos durante o Curso "JavaScript Unit Testing - The Practical Guide" da Udemy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published