Testing Library

391 posts

Testing Library banner
Testing Library

Testing Library

@TestingLib

Libraries, utilities, and tools to enable you to write tests that resemble the way your software is used. @ReactJS, @VueJS, @Cypress_IO, @angular, @fbjest, more

your tests Inscrit le Nisan 2019
10 Abonnements11K Abonnés
Testing Library retweeté
Corbin Crutchley
Corbin Crutchley@crutchcorn·
Heads up to anyone using JSDom for testing, I believe as of three days ago there was a change to some sub-deps that broke behavior for anyone upgrading their package lock: github.com/jsdom/cssstyle… I'm working on a fix right now
English
3
4
19
7.9K
Testing Library retweeté
Wallaby Team
Wallaby Team@wallabyjs·
New Wallaby 2 feature: ✨ HTML highlighting for @TestingLib errors and screen.debug() output, styled with your editor theme 🎨 for easier, readable debugging. 🔍
GIF
English
0
4
11
1.5K
Testing Library retweeté
Lenz Weber-Tronic
Lenz Weber-Tronic@phry·
I'm thrilled to finally announce the release of a new @testing-library, React RenderStream testing library. We have been using the underlying approach in over 500 Apollo Client tests for a year now, and it has given us a new level of confidence. (Link in next Post)
Lenz Weber-Tronic tweet media
English
3
29
138
45.9K
Testing Library retweeté
Matan Borenkraout 🥬
Matan Borenkraout 🥬@matanbobi·
Heads up @TestingLib users 🐙 Due to multiple issues we've observed in the past releases, we've just released a new major of React Testing Library (16) that moves @testing-library/dom to a peer dependency. Keep in mind that you'll need to manually install DTL from that version.
English
2
3
20
7.9K
Testing Library retweeté
Kent C. Dodds ⚡
Kent C. Dodds ⚡@kentcdodds·
It's official. @TestingLib is now THE testing solution for @reactjs. What a journey! #deprecated-react-test-renderer" target="_blank" rel="nofollow noopener">react.dev/blog/2024/04/2…
Kent C. Dodds ⚡ tweet media
English
27
55
949
55.9K
Testing Library retweeté
Tim Deschryver
Tim Deschryver@tim_deschryver·
🚀 We released #Angular Testing Library v16 today With this update, you receive the latest specification updates for role/element mappings to align with WAI-ARIA 1.2. Why should you care? 🔎 better role support, including new roles ⚠️ existing queries might behave differently
Tim Deschryver tweet media
English
1
19
67
5.9K
Testing Library retweeté
Matan Borenkraout 🥬
Matan Borenkraout 🥬@matanbobi·
🎉 🎉🎉 A new major version of React @TestingLib was released (15.0.0) - This release drops support for Node 14, Node 16 and most importantly, adds support for new ARIA roles defined as part of WAI-ARIA 1.2. If you have any feedback or issues, feel free to reach out.
English
2
6
34
4.4K
Testing Library retweeté
Ernesto 🇨🇱
Ernesto 🇨🇱@gnapse·
Here's an opportunity to contribute to @TestingLib's jest-dom 🦉 and dive into the world of accessibility: Create the toBeActiveDescendant custom matcher. Your chance to learn and make a positive impact awaits. 🤝 Check it out github.com/testing-librar…
English
0
5
12
8.6K
Testing Library retweeté
Matan Borenkraout 🥬
Matan Borenkraout 🥬@matanbobi·
We see this asked quite a lot: If you've migrated from Jest to Vitest and looking for the jest-dom equivalent for @vitest_dev, just edit your setup file 🦉
Matan Borenkraout 🥬 tweet media
English
0
14
75
9.5K
Testing Library retweeté
Matan Borenkraout 🥬
Matan Borenkraout 🥬@matanbobi·
🚨 Implementation detail 🚨 Lately, I've been seeing this pattern for testing async stuff. This pattern creates a new promise and awaits for it to resolve. This means we'll wait for all async operations to finish. Prefer @TestingLib waitFor with a meaningful assertion.
Matan Borenkraout 🥬 tweet media
English
1
2
18
5K
Testing Library retweeté
Tim Deschryver
Tim Deschryver@tim_deschryver·
#Angular Testing Library v13 is released 🚀 This release contains: - more control over component Input properties - more control over CD - extra's for standalone components Thanks @antischematic for the ideas and help 🏆 github.com/testing-librar…
English
0
12
43
0
Testing Library
Testing Library@TestingLib·
📣 @testing-library/react@13.1.0 just shipped with a new built-in renderHook function that operates similar to @testing-library/react-hooks but with support for React v18 🎉
English
2
41
287
0
Testing Library retweeté
Matan Borenkraout 🥬
Matan Borenkraout 🥬@matanbobi·
React Testing Library v13 with support for React 18 is now released. Upgrade now if your app is using React 18. @testing-library/react/v/13.0.0" target="_blank" rel="nofollow noopener">npmjs.com/package/@testi… Many thanks @sebsilbermann for the hard work on this release!
English
3
42
173
0