Skip to content

daphnecarvalho/ignite-nodejs-testes-unitarios-e-integracao

Repository files navigation

Challenge: Unit and Integration Testing

Instructions: Testes unitários, Testes de integração and Transferências com a FinAPI.

Base URL

http://localhost:3333

Tests

Test Suites: 12 total

Tests: 36 total

Project commands

Prepare project

  # Install dependencies
  yarn install

  # Docker - Create containers
  docker-compose up

  # Run migrations
  yarn typeorm migration:run 

Run project

  # Docker - Start containers
  docker-compose start

  # Docker - Stop containers
  docker-compose stop

Prepare project for test

  -- Beekeeper: execute query
  create database fin_api_test

Run test

  # Run tests
  yarn test

About

🏢 Balance, Transfer/Deposit/Withdraw - API for managing bank data - Ignite Node.js - @Rocketseat

Topics

Resources

Stars

Watchers

Forks

Languages