Testing Library(@TestingLib) 's Twitter Profileg
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

ID:1121512582706188288

linkhttp://testing-library.com calendar_today25-04-2019 20:33:31

392 Tweets

11,4K Followers

11 Following

Tim Deschryver(@tim_deschryver) 's Twitter Profile Photo

πŸš€ We released 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

πŸš€ 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
account_circle
Matan Borenkraout πŸ₯¬(@matanbobi) 's Twitter Profile Photo

πŸŽ‰ πŸŽ‰πŸŽ‰
A new major version of React Testing Library 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.

account_circle
Testing Library(@TestingLib) 's Twitter Profile Photo

We're really happy to officially have the Solid Testing Library as part of our ecosystem now. Many thanks to Daniel Afonso for pushing it!

account_circle
Ernesto(@gnapse) 's Twitter Profile Photo

Here's an opportunity to contribute to Testing Library'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…

account_circle
Matan Borenkraout πŸ₯¬(@matanbobi) 's Twitter Profile Photo

We see this asked quite a lot: If you've migrated from Jest to Vitest and looking for the jest-dom equivalent for Vitest, just edit your setup file πŸ¦‰

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 πŸ¦‰
account_circle
Matan Borenkraout πŸ₯¬(@matanbobi) 's Twitter Profile Photo

🚨 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 Testing Library waitFor with a meaningful assertion.

🚨 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.
account_circle
Tim Deschryver(@tim_deschryver) 's Twitter Profile Photo

✍️ Blogged: standalone components and Angular Testing Library make component tests easier

timdeschryver.dev/blog/angular-s…

account_circle
Tim Deschryver(@tim_deschryver) 's Twitter Profile Photo

Testing Library v13 is released πŸš€
This release contains:

- more control over component Input properties
- more control over CD
- extra's for standalone components

Thanks Michael Muscat for the ideas and help πŸ†

github.com/testing-librar…

account_circle
Testing Library(@TestingLib) 's Twitter Profile Photo

πŸ“£ testing-library/[email protected] just shipped with a new built-in renderHook function that operates similar to testing-library/react-hooks but with support for React v18 πŸŽ‰

account_circle
Matan Borenkraout πŸ₯¬(@matanbobi) 's Twitter Profile Photo

React Testing Library v13 with support for React 18 is now released.

Upgrade now if your app is using React 18.

npmjs.com/package/@testi…

Many thanks Sebastian Silbermann for the hard work on this release!

account_circle
Philipp Fritsche(@ph_fritsche) 's Twitter Profile Photo

The documentation for Testing Library's user-event has been updated.
If you are actively working on a project, we recommend to switch to `v14-beta` now. πŸš€
Check it out! πŸ‘‡
testing-library.com/user-event

account_circle
@belco@mas.to(@belcoDev) 's Twitter Profile Photo

So eslint-plugin-testing-library v5 has been just released! Including support for ESLint v8. Make sure you check the breaking changes before upgrading: github.com/testing-librar…

Huge thanks to MichaΓ«l De Boey who really pushed things forward to get this new version published.

account_circle
PK 🐒 πŸ‘©πŸ»β€πŸ’»(@PKodmad) 's Twitter Profile Photo

React and react component testing have come a long way. I so agree with this article. Lets not use enzyme.js anymore πŸ‘‹
piotrstaniow.pl/goodbye-enzyme

account_circle
Ernesto(@gnapse) 's Twitter Profile Photo

jest-dom v5.14.0 introduces two new matchers:

- toHaveAccessibleName
- toHaveAccessibleDescription

Another step towards promoting the use of more semantic and accessible markup. Making sure you properly label and describe elements has never been easier.

github.com/testing-librar…

account_circle
Ernesto(@gnapse) 's Twitter Profile Photo

Starting with v5.13.0 jest-dom has a new matcher toHaveErrorMessage. This is a big step in promoting the use of more semantic and accessible markup to flag errors in form elements.

github.com/testing-librar…

Starting with v5.13.0 jest-dom has a new matcher toHaveErrorMessage. This is a big step in promoting the use of more semantic and accessible markup to flag errors in form elements. github.com/testing-librar…
account_circle