testing-react
common-testing-library-mistakes
testing-react | common-testing-library-mistakes | |
---|---|---|
3 | 1 | |
588 | 4 | |
- | - | |
0.0 | 2.6 | |
about 1 year ago | over 2 years ago | |
TypeScript | TypeScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
testing-react
-
What is Storybook Play function?
For more details on implementation, please refer to the following link (the above code is also quoted from this link): https://github.com/storybookjs/testing-react
-
Integrating Storybook with Cypress and HMR
When I started to play with this idea the first option which came to my mind was to launch Storybook and then tell Cypress to navigate to the component’s iFrame source url and start interacting with it. It can work but it has some challenges, like making sure the Storybook is up first, and how it is accessed on on-demand spawned environments in the build pipeline, but then another method presented itself to me - using a library that Storybook team has developed called @storybook/testing-react
-
What is Storybook used for?
Adding on to what others have said: you can use https://github.com/storybookjs/testing-react to reuse your storybook entries as test setup & really simplify your tests while making your storybook entries even more valuable.
common-testing-library-mistakes
-
Testing-library: writing better async tests
These and a few more examples could be found in this repository.
What are some alternatives?
pedalboard - A collection of packages to make you software sound better
angular-testing-library - 🐙 Simple and complete Angular testing utilities that encourage good testing practices
react-hooks-testing-library - 🐏 Simple and complete React hooks testing utilities that encourage good testing practices.
eslint-plugin-testing-library - ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library
testing-library-recorder-extension - Testing Library Extension for Chrome DevTools Recorder
nextjs-typescript-material-ui-eslint-jest - Next.js example with TypeScript, Material UI, ESlint, Prettier, and Jest
eslint-config-galex - hopefully the last eslint config you'll ever need - customizable & modern best practices for JS, TS, Node, React, Remix, Next, Jest, testing-library & storybook
kirby-boilerplate - This is an opiniated boilerplate with rocking tools for front-end development
MassDiceRoller - Project to learn React and do it properly (including CI/CD, testing, etc). The web app simulates rolling many dice and makes it easy to reroll certain outcomes.
storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.