tests-with-react-testing-library

所属分类:JavaScript/JQuery
开发工具:JavaScript
文件大小:638KB
下载次数:0
上传日期:2022-07-08 03:17:22
上 传 者sh-1993
说明:  Trybe网站开发中心第十四单元(前端开发模块)末尾开发的 React测试项目...
(React testing project developed at the end of Unit 14 (Front-end Development Module) of the Trybe s Web Development course)

文件列表:
.babelrc.json (40, 2022-07-08)
.eslintignore (69, 2022-07-08)
.eslintrc.json (264, 2022-07-08)
.npmrc (19, 2022-07-08)
.stylelintignore (14, 2022-07-08)
.stylelintrc.json (5249, 2022-07-08)
imgs (0, 2022-07-08)
imgs\cover.png (87368, 2022-07-08)
imgs\coverage.png (120465, 2022-07-08)
imgs\nota.png (118121, 2022-07-08)
package-lock.json (1290625, 2022-07-08)
package.json (1709, 2022-07-08)
public (0, 2022-07-08)
public\favicon.ico (3870, 2022-07-08)
public\index.html (1721, 2022-07-08)
public\logo192.png (5347, 2022-07-08)
public\logo512.png (9664, 2022-07-08)
public\manifest.json (492, 2022-07-08)
public\robots.txt (57, 2022-07-08)
public\star-icon.svg (1055, 2022-07-08)
src (0, 2022-07-08)
src\App.css (85, 2022-07-08)
src\App.js (2648, 2022-07-08)
src\components (0, 2022-07-08)
src\components\About.js (593, 2022-07-08)
src\components\Button.js (670, 2022-07-08)
src\components\FavoritePokemons.js (1292, 2022-07-08)
src\components\NotFound.js (453, 2022-07-08)
src\components\Pokedex.js (2534, 2022-07-08)
src\components\Pokemon.js (1199, 2022-07-08)
src\components\PokemonDetails.js (2677, 2022-07-08)
src\components\about.css (33, 2022-07-08)
src\components\button.css (121, 2022-07-08)
src\components\favorite-pokemons.css (125, 2022-07-08)
src\components\index.js (364, 2022-07-08)
src\components\not-found.css (100, 2022-07-08)
src\components\pokedex.css (381, 2022-07-08)
... ...

# :test_tube: Tests with React Testing Library :alembic: ![cover](https://github.com/raphaelalmeidamartins/tests-with-react-testing-library/blob/master/./imgs/cover.png) ## :page_with_curl: About React testing project developed by [Raphael Martins](https://github.com/raphaelalmeidamartins/tests-with-react-testing-library/blob/master/https://www.linkedin.com/in/raphaelameidamartins/) at the end of Unit 14 ([Front-end Development Module](https://github.com/raphaelalmeidamartins/tests-with-react-testing-library/blob/master/https://github.com/raphaelalmeidamartins/trybe_exercicios/tree/main/2_Desenvolvimento-Front-end)) of Trybe's Web Development course. I was approved with 100% of the mandatory and optional requirements met. We had to implement integration and unit tests with React Testing Library to a React project that was already developed. ## :man_technologist: Developed Skills * Implement integration and unit tests to a React application by using React Testing Library ## :hammer_and_wrench: Tools * React.js * React Testing Library (RTL) * Jest.js * Stryker Mutator * JavaScript ES6+ ## :hammer_and_wrench: Installation and Execution/Instalcao e execucao ### 1 - Clone the repository ```sh git clone git@github.com:raphaelalmeidamartins/store-manager.git ``` ### 2 - Install the dependencies and run the application Installing dependencies: ```sh npm install ``` Running application: ```sh npm start ``` ### 3 - Check test coverage ```sh npm run test-coverage ``` ## :test_tube: Tests coverage ![Tests coverage percent - Porcentagem de cobertura dos testes](https://github.com/raphaelalmeidamartins/tests-with-react-testing-library/blob/master/./imgs/coverage.png) ## :trophy: Grade ![My grade of the project - Minha nota no projeto](https://github.com/raphaelalmeidamartins/tests-with-react-testing-library/blob/master/./imgs/nota.png) ### :copyright: Copyright disclaimer I developed this project for learning purposes, all the tests code and documentation texts in Portuguese and English are my authorship, and the rights belong exclusively to me. It is allowed to download or clone the repository for study purposes. However, it is not allowed to publish full or partial copies. This disclaimer does not cover libraries and dependencies, which are subject to their respective licenses. It also does not cover the React application to be tested, which was already developed by Trybe.

近期下载者

相关文件


收藏者