{"id":25629023,"url":"https://github.com/deibsoncogo/nest-js-test","last_synced_at":"2026-04-13T01:03:10.807Z","repository":{"id":182682738,"uuid":"666550393","full_name":"deibsoncogo/nest-js-test","owner":"deibsoncogo","description":"Projeto criado para demonstrar a utilização de testes automatizado com o Nest JS, Jest e o Supertest","archived":false,"fork":false,"pushed_at":"2023-07-21T19:24:40.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T19:16:47.495Z","etag":null,"topics":["dokcer-compose","jest","mock","nestjs","prisma","sqlite","supertest","typescript"],"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/deibsoncogo.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":"2023-07-14T20:15:10.000Z","updated_at":"2024-02-16T12:59:20.000Z","dependencies_parsed_at":"2023-07-20T23:43:59.958Z","dependency_job_id":"62016f43-4a02-4ec1-86a9-06edc4f704fe","html_url":"https://github.com/deibsoncogo/nest-js-test","commit_stats":null,"previous_names":["deibsoncogo/tempnestjstest","deibsoncogo/nest-js-test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deibsoncogo%2Fnest-js-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deibsoncogo%2Fnest-js-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deibsoncogo%2Fnest-js-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deibsoncogo%2Fnest-js-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deibsoncogo","download_url":"https://codeload.github.com/deibsoncogo/nest-js-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240222477,"owners_count":19767458,"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":["dokcer-compose","jest","mock","nestjs","prisma","sqlite","supertest","typescript"],"created_at":"2025-02-22T19:16:49.415Z","updated_at":"2026-04-13T01:03:10.774Z","avatar_url":"https://github.com/deibsoncogo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nest JS - Testes automatizado\nProjeto criado para demonstrar a utilização de testes automatizado com o `Nest JS`, `Jest` e o `Supertest`\n\n## Execuções\nPrimeiro instale as dependências com o seguinte comando\n```bash\nnpm i\n```\n\n### Testes unitários\nPara executar todos os testes unitário utilize este atalho\n```bash\nnpm run test\n```\n\nPara criar o `coverage` dos testes unitário mostrando a cobertura dos testes\n```bash\nnpm run test:cov\n```\n\n### Testes e2e\nPrimeiro precisamos criar as migrations com o `Prisma` utilizando o seguinte comando\n```bash\nnpx prisma migrate dev\n```\n\nPara executar todos os testes e2e utilize este atalho\n```bash\nnpm run test:e2e\n```\n\nPara criar o `coverage` dos testes e2e mostrando a cobertura dos testes\n```bash\nnpm run test:e2e:cov\n```\n\n## Execução da aplicação\nDepois de realizar a criação do banco de dados basta utilizar este atalho\n```bash\nnpm run start:dev\n```\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/28245172-44e94ff0-cfdf-4a92-aaa5-a06c3b510be3?action=collection%2Ffork\u0026source=rip_markdown\u0026collection-url=entityId%3D28245172-44e94ff0-cfdf-4a92-aaa5-a06c3b510be3%26entityType%3Dcollection%26workspaceId%3Dce60cf7e-ad48-4ffe-aa27-7279b192887a)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeibsoncogo%2Fnest-js-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeibsoncogo%2Fnest-js-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeibsoncogo%2Fnest-js-test/lists"}