Testing media-chrome (and Web Components in general) #884
endymion1818
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've come from a strong test-oriented background where I'm usually obliged to supply as near to 100% test coverage as possible. But I've yet to find similar inclination among those who build Web Components. To that end, I've started to document what's possible with each testing framework (starting with my 3 favorites: Vitest, Cypress and Storybook).
Here's a repo with my test cases:
https://github.com/endymion1818/example-web-component-test-suite
I'd be very grateful if anyone else in the community could share what they have learned from testing web components and media-chrome in general. I plan to keep updating this repo as people respond and as I learn new things that will help me reach the goal of thoroughly testing my project.
I hope it helps someone out there.
I'd be glad to hear your thoughts and experiences. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions