Skip to content

leandroffdev/jest-course

Repository files navigation

jest-course

EN

  • course about tests using jest

PT-BR

  • Curso de Testes usando Jest

Jest description

EN

  • Jest is a delightful JavaScript Testing Framework with a focus on simplicity.
  • It works with projects using: Babel, TypeScript, Node, React, Angular, Vue and more!

PT-BR

  • Jest é um poderoso Framework de Testes em JavaScript com um foco na simplicidade.
  • Funciona com projetos usando: Babel, TypeScript, Node, React, Angular, Vue e muito mais!

Class 1:

Getting Started

EN

  • Before we start, we need to prepare the environment.

  • First, we need NodeJS and an IDE installed.

  • You can download NodeJS here NodeJS

  • Hint: download the "LTS" version. Its stable and recommended.

  • Open Node and type npm install -g jest to run jest via the command line.

  • Now, you can download an IDE as you prefer.

  • I use VsCode from microsoft.

  • You can download VsCode here: VsCode

  • Make a new folder to use it.

  • put the following commands:

  • npm init -y

  • npm install --save-dev jest

  • Finaly, Let's beginning.

  • Go to Jest

  • Follow the instructions.

PT-BR

  • Antes de começarmos, precisamos preparar o ambiente.

  • Primeiro, precisamos do NodeJS e de um IDE instalados.

  • Você pode baixar o NodeJS aqui NodeJS

  • Dica: baixe a versão "LTS". É estável e recomendado.

  • Abra o Node e digite npm install -g jest para rodar o jest por linha de comando.

  • instalar o "node-notifier" npm install --save-dev node-notifier

  • Agora você pode baixar um IDE como preferir.

  • Eu uso o VsCode da Microsoft.

  • Você pode baixar o VsCode aqui: VsCode

  • Crie um diretório para ser utilizado.

  • nele digite os comandos:

  • npm init -y

  • npm install --save-dev jest

  • Finalmente, vamos começar.

  • Vá para Jest

  • Siga as instruções.

Used commands in terminal to run jest test

npm test

About

course about tests using jest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors