{"id":19398876,"url":"https://github.com/andreluialves/react-testing-library","last_synced_at":"2026-04-20T09:35:06.344Z","repository":{"id":112711599,"uuid":"524520479","full_name":"andreluialves/react-testing-library","owner":"andreluialves","description":"Implementação de uma série de testes para uma aplicação React JS, utilizando React Test Library (RTL) e Jest.","archived":false,"fork":false,"pushed_at":"2022-08-15T19:39:12.000Z","size":384,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T23:07:20.994Z","etag":null,"topics":["jest","react","reactjs","reacttestinglibrary","rtl"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/andreluialves.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-08-13T22:23:41.000Z","updated_at":"2022-08-15T19:43:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"6457593b-35a7-48e6-9386-83a0cf5ffcbf","html_url":"https://github.com/andreluialves/react-testing-library","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andreluialves/react-testing-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreluialves%2Freact-testing-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreluialves%2Freact-testing-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreluialves%2Freact-testing-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreluialves%2Freact-testing-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreluialves","download_url":"https://codeload.github.com/andreluialves/react-testing-library/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreluialves%2Freact-testing-library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32041693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["jest","react","reactjs","reacttestinglibrary","rtl"],"created_at":"2024-11-10T11:07:32.484Z","updated_at":"2026-04-20T09:35:06.324Z","avatar_url":"https://github.com/andreluialves.png","language":"JavaScript","readme":"# React Testing Library\n\n## Sobre\nProjeto desenvolvido durante o módulo de Front-end do curso de desenvolvimento web da Trybe.\n\nFoi fornecida uma aplicação React desenvolvida pela [Trybe](https://www.betrybe.com/) e foi preciso escrever testes para esta aplicação, utilizando React Test Library e Jest.\n\nOs testes estão localizados na pasta **src/tests**.\n\n### *Status do projeto*\nEste projeto encontra-se finalizado.\n\n\n## Habilidades desenvolvidas\n* Utilizar os seletores (queries) da React-Testing-Library em testes automatizados.\n* Simular eventos com a React-Testing-Library em testes automatizados.\n* Testar fluxos lógicos assíncronos com a React-Testing-Library.\n* Escrever testes que permitam a refatoração da estrutura dos componentes da aplicação sem necessidade de serem alterados.\n* Criar mocks de APIs utilizando fetch.\n\n\n## Tecnologias utilizadas\n* React JS\n* React Testing Library\n* Jest\n\n\n## Executando a aplicação\n\n### 1. Clone o repositório\n```\ngit clone git@github.com:andreluialves/react-testing-library.git\n```\n\n  * Entre na pasta do repositório que você acabou de clonar:\n```\ncd react-testing-library\n```\n\n### 2. Instale as dependências:\n```\nnpm install\n```\n\n### 3. Executar o comando para abrir a visualização no navegador\n```\nnpm start\n```\n   * Visualização da aplicação fornecida pela Trybe através da url:\n```\nhttp://localhost:3000\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreluialves%2Freact-testing-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreluialves%2Freact-testing-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreluialves%2Freact-testing-library/lists"}