react-native-testing-library

🦉 Simple and complete React Native testing utilities that encourage good testing practices.

MIT License

Downloads
3.5M
Stars
3K
Committers
126

Bot releases are visible (Hide)

react-native-testing-library - v12.2.1

Published by mdjastrzebski about 1 year ago

What's Changed

Improvements

Under the hood

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.2.0...v12.2.1

react-native-testing-library - v12.2.0

Published by mdjastrzebski about 1 year ago

What's Changed

Features

  • User Event API: press(), type() - #1386, #1396, #1410 by @pierrezimmermannbam and @mdjastrzebski

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.1.3...v12.2.0

react-native-testing-library - v12.1.3

Published by mdjastrzebski about 1 year ago

Fixes

Improvements

Refactors, Docs, Chores, etc

New Contributors 👏

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.1.2...v12.1.3

react-native-testing-library - v12.1.2

Published by mdjastrzebski over 1 year ago

What's Changed

Fixes

Docs, Chores, etc

New Contributors

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.1.1...v12.1.2

react-native-testing-library - v12.1.1

Published by mdjastrzebski over 1 year ago

react-native-testing-library - v12.1.0

Published by mdjastrzebski over 1 year ago

What's Changed

Improvements

Bugfixes

New Contributors

  • @stevehanson made their first contributions in #1377, #1378 and #1390 👏

Chores, docs, deps, etc

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.0.1...v12.1.0

react-native-testing-library - v12.0.1

Published by mdjastrzebski over 1 year ago

What's Changed

Bugfixes

New Contributors 👏

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v12.0.0...v12.0.1

react-native-testing-library - v12.0.0

Published by mdjastrzebski over 1 year ago

What's Changed

We have prepared v12 migration guide.

Breaking changes

  1. All queries exclude elements hidden from accessibility by default
  2. *ByRole queries now return only accessibility elements
  3. *ByText, *ByDisplayValue, *ByPlaceholderText queries now return host elements
  4. container API has been renamed to UNSAFE_root, added safe root API

Full Changelog

https://github.com/callstack/react-native-testing-library/compare/v11.5.4...v12.0.0

react-native-testing-library - v11.5.4

Published by mdjastrzebski over 1 year ago

What's Changed

Bug fixes

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.5.3...v11.5.4

react-native-testing-library - v11.5.3

Published by mdjastrzebski over 1 year ago

What's Changed

Bugfixes

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.5.2...v11.5.3

react-native-testing-library - v12.0.0 RC 2

Published by mdjastrzebski over 1 year ago

What's Changed (v12 major release)

We have prepared v12 migration guide.

Breaking changes

  1. All queries exclude elements hidden from accessibility by default
  2. *ByRole queries now return only accessibility elements
  3. *ByText, *ByDisplayValue, *ByPlaceholderText queries now return host elements
  4. container API has been renamed to UNSAFE_root, added safe root API

Full Changelog

https://github.com/callstack/react-native-testing-library/compare/v11.5.2...v12.0.0-rc.1

Changes from v12.0.0 RC 1 to RC 2

Fixes

RC 2 Changelog

https://github.com/callstack/react-native-testing-library/compare/v12.0.0-rc.1...v12.0.0-rc.2

react-native-testing-library - v12.0.0 RC 1

Published by mdjastrzebski over 1 year ago

What's Changed (v12 major release)

We have prepared v12 migration guide.

Breaking changes

  1. All queries exclude elements hidden from accessibility by default
  2. *ByRole queries now return only accessibility elements
  3. *ByText, *ByDisplayValue, *ByPlaceholderText queries now return host elements
  4. container API has been renamed to UNSAFE_root, added safe root API

Full Changelog

https://github.com/callstack/react-native-testing-library/compare/v11.5.2...v12.0.0-rc.1

Changes from v12.0.0 RC 0 to RC 1

Fixes

Others

  • docs tweaks

RC 1 Changelog

https://github.com/callstack/react-native-testing-library/compare/v12.0.0-rc.0...v12.0.0-rc.1

react-native-testing-library - v12.0.0 RC 0

Published by mdjastrzebski over 1 year ago

What's Changed

We have prepared v12 migration guide.

Breaking changes

  1. All queries exclude elements hidden from accessibility by default
  2. *ByRole queries now return only accessibility elements
  3. *ByText, *ByDisplayValue, *ByPlaceholderText queries now return host elements
  4. container API has been renamed to UNSAFE_root, added safe root API

Full Changelog

https://github.com/callstack/react-native-testing-library/compare/v11.5.2...v11.5.2...v12.0.0-rc.0

react-native-testing-library - v11.5.2

Published by mdjastrzebski over 1 year ago

What's Changed

Fixes

Other

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.5.1...v11.5.2

react-native-testing-library - v11.5.1

Published by mdjastrzebski over 1 year ago

What's Changed

Improvements

Fixes

New Contributors

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.5.0...v11.5.1

react-native-testing-library - v11.5.0

Published by mdjastrzebski almost 2 years ago

Features

Bug fixes

  • *ByText is now able to match text across nested Text components by @mdjastrzebski in #1222
    • If your tests relied on undocumented behavior of *ByText queries only matching non-nested text content, then you might need to update them, e.g. by using { exact: false } query option.

Other

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.4.0...v11.5.0

react-native-testing-library - v11.4.0

Published by mdjastrzebski almost 2 years ago

What's Changed

Features

Bug fixes

Other

New Contributors 👏

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.3.0...v11.4.0

react-native-testing-library - v11.3.0

Published by mdjastrzebski almost 2 years ago

What's Changed

Features

Fixes

Other

New Contributors 👏

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.2.0...v11.3.0

react-native-testing-library - v11.2.0

Published by mdjastrzebski about 2 years ago

What's Changed

New Features

  • Support for name option in *ByRole queries by @AugustinLF and @kiranjd #1127
  • isInaccessible API (compat. with React Testing Library) by @mdjastrzebski #1128
  • [experimental] Emulate error when rendering string text outside of Text component by @pierrezimmermannbam #1070

Chores

  • Reduce number of act() warnings when using React 18 by @AugustinLF #1131
  • Automated testing against React 17 by @AugustinLF in #1115
  • Docs: document render options by @mdjastrzebski #1129

New Contributors 👏🏻

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.1.0...v11.2.0

react-native-testing-library - v11.1.0

Published by thymikee about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/callstack/react-native-testing-library/compare/v11.0.0...v11.1.0