Replies: 2 comments
-
@NoriSte I believe we should remove all obsolete component testing related content, and add one new section. |
Beta Was this translation helpful? Give feedback.
-
I also report here the feedback I received from a talented former colleague of mine. I also add some feedback of mine in turn.
@muratkeremozcan that's your bread 😊
I never thought much about it, but this means that a lot of readers gave up at the first impression due to the messy/missing TOC.
Also, comparing it to Storybook testing is worth it, IMO, since it's a recent player in the market and it's valuable.
I'd like in the future to write a new one, called more generically "never manually test", because it does not matter if we use Cypress, Storybook, unit tests, a combination of all of them, the only goal is respecting (wisely) the "never manually test, you are slow and also requires you a second testing step".
|
Beta Was this translation helpful? Give feedback.
-
It's time to revamp the project since it has not been updated for a while. Below is a first list of improvements to discuss.
Chapters to add
Chapters to update
⏳ Home page
component-vs-integration-vs-e2e-testing.md
(still unassigned)
✅ avoid-perfectionism.md
(assigned to @NoriSte)
✅ choose-a-reference-browser.md
(assigned to @NoriSte)
✅ write-test-then-fix-bug.md
(assigned to @NoriSte)
✅ await-dont-sleep.md
(assigned to @NoriSte)
✅ ui-tests-debugging-best-practices.md
(assigned to @NoriSte because comes from what written for Hasura)
✅ Test the server schema
✅ top-to-bottom-approach.md
(still unassigned)
✅ tests-as-documentation.md
(assigned to @NoriSte because comes from what written for Hasura)
Touch the "bad selectors" pointExplain how muchwithin
can be helpful to improve the selector's readabilityShould mention TS-based fixtures instead of JSONs✅ cypress-and-storybook.md
(assigned to @NoriSte because he knows almost everything here)
Remove every reference to Storybook and keep the testsLink at the top to the new "From unreadable React Component Tests to simple, stupid ones" chapter✅ cypress-and-storybook-exposing-component-from-story.md
(still unassigned)
✅ cypress-react-component-test.md
(still unassigned)
✅ test-flake.md
(assigned to @NoriSte)
Mention Replay.io integration with testsBeta Was this translation helpful? Give feedback.
All reactions