{"id":22126053,"url":"https://github.com/gustavo-developer/node-test-e2e","last_synced_at":"2026-04-08T18:03:40.938Z","repository":{"id":108551431,"uuid":"486002941","full_name":"Gustavo-Developer/node-test-e2e","owner":"Gustavo-Developer","description":"Unit Testing and E2E","archived":false,"fork":false,"pushed_at":"2022-04-27T01:24:05.000Z","size":105,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T08:18:08.144Z","etag":null,"topics":["e2e","jest","nodejs","prisma","testing","unit"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gustavo-Developer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-27T01:23:02.000Z","updated_at":"2022-04-27T01:24:50.000Z","dependencies_parsed_at":"2023-04-29T11:35:48.427Z","dependency_job_id":null,"html_url":"https://github.com/Gustavo-Developer/node-test-e2e","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Gustavo-Developer/node-test-e2e","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gustavo-Developer%2Fnode-test-e2e","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gustavo-Developer%2Fnode-test-e2e/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gustavo-Developer%2Fnode-test-e2e/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gustavo-Developer%2Fnode-test-e2e/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gustavo-Developer","download_url":"https://codeload.github.com/Gustavo-Developer/node-test-e2e/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gustavo-Developer%2Fnode-test-e2e/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259539132,"owners_count":22873341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["e2e","jest","nodejs","prisma","testing","unit"],"created_at":"2024-12-01T16:49:55.840Z","updated_at":"2025-12-30T22:22:33.500Z","avatar_url":"https://github.com/Gustavo-Developer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tipos de testes\n\nUnitários = Testam um componente/funcionalidade de forma **isolada**.\nIntegração = Testa como um ou mais componentes/funcionalidades se comportam juntos(as).\nE2E = Simula o que um usuário vai fazer na nossa aplicação diariamente.\n\n# Banco de dados\n\nUnitários = Não\nIntegração = Talvez\nE2E = Sim (não só Banco de Dados, QUALQUER CONEXÃO EXTERNA INCLUSIVE APIS)\n\n# E-commerce\n\n- Realizar compra\n\n1. Cadastra usuário no banco\n2. Cadastra endereço no banco\n3. Se comunica com **gateway de pagamento** pra enviar a transação\n4. Cadastra a compra no banco\n\nUnitário: Não tem banco de dados e nem API do Gateway\nE2E: Não é aconselhável ter mocks ou dados fakes \n\nGateway de pagamento: Conta de teste (API Key de Teste)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgustavo-developer%2Fnode-test-e2e","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgustavo-developer%2Fnode-test-e2e","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgustavo-developer%2Fnode-test-e2e/lists"}