Skip to content

Infra/test renderer #1470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 4, 2021
Merged

Infra/test renderer #1470

merged 6 commits into from
Oct 4, 2021

Conversation

mendyEdri
Copy link
Contributor

Description

A POC for component tests inside uilib. added a few tests to Hint component that validates a recent bugs we had will be covered with tests.
We are using now @testing-library/react-native for this component testing.

Changelog

Infra, added first component-tests to Hint component.

Copy link
Collaborator

@ethanshar ethanshar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!
Very intuitive and clear... I wrote few small comments.

Anyway, I'd love to see it working on other components.
We can think later on which other components or scenarios..

For instance, we had several RTL regression issues recently, I wonder if this is something we test easily with test-renderer. WDYT?

@mendyEdri mendyEdri requested a review from ethanshar September 12, 2021 07:54
@ethanshar ethanshar merged commit 0fb9d67 into master Oct 4, 2021
@mendyEdri mendyEdri deleted the infra/test-renderer branch December 27, 2021 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants