Skip to content
Discussion options

You must be logged in to vote

Hi @SvetoslavZ99,

The ui5/webcomponents team and we already test our own components, so testing them on your side would be redundant. This is standard practice nowadays - generally, you don’t need to test components, APIs, utils, etc., coming from a library.

Which testing framework to use is entirely up to you. We went with Cypress because, at the time, Playwright didn’t fully support component testing, and our custom commands currently only support Cypress. In general, we recommend using testing solutions that run in the real DOM rather than a virtual DOM like jsdom. (Here I explained why we don’t recommend testing components that use a virtual DOM anymore.)

What you should test depends …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SvetoslavZ99
Comment options

Answer selected by SvetoslavZ99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants