angular-testing-library
common-testing-library-mistakes
angular-testing-library | common-testing-library-mistakes | |
---|---|---|
5 | 1 | |
681 | 4 | |
2.1% | - | |
7.4 | 2.6 | |
7 days 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.
angular-testing-library
-
Mi experience with unit testing in Angular: third time lucky! 💪🏻
A few months ago some colleagues told me about their smooth experience with Jest and Testing Library in a Vue application. Last week I gave it a shot. It took me a couple of hours to remove all Karma and Jasmine dependencies, and to properly configure this new testing platform. After that, I tried to refactor a small component by test driven development, again. This time, it was easier to render each component and its dependencies. However, there weren't enough enough examples and real use cases for testing the actual behavior of the components with ease (even with resources like this or this).
- Usando selectores correctos en Angular Testing Library
-
Obteniendo el mayor valor nuestros tests en Angular
Angular Testing Library Repository Buenas prácticas con Angular Testing Library
- Buenas prácticas con Angular Testing Library
- Escrevendo testes eficientes de verdade no Angular
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?
spectator - 🦊 🚀 A Powerful Tool to Simplify Your Angular Tests
testing-react - Testing utilities that allow you to reuse your Storybook stories in your React unit tests!
ng-mocks - Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup
eslint-plugin-testing-library - ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library
nextjs-typescript-material-ui-eslint-jest - Next.js example with TypeScript, Material UI, ESlint, Prettier, and Jest
storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.
react-hooks-testing-library - 🐏 Simple and complete React hooks testing utilities that encourage good testing practices.
user-event - 🐕 Simulate user events
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.
atl-good-testing-practices
testing-library-recorder-extension - Testing Library Extension for Chrome DevTools Recorder