Replies: 2 comments 1 reply
-
We can test what we input as props and what is passed down to
Yes, this would be nice-to-have and we can build on the exploration done by @ElviraBurchik
This is going to be covered by E2E tests to measure performance.
For unit tests, let's use jest. We also already have some tests in Swift and Kotlin which we should keep and potentially expand for the business logic done in the native layer. For E2E, we shoul explore it further but most likely Detox will be the most straightforward choice. That being said, it's worth to consider appium, too, since it is what our apps are migrating to.
Do we need to? I don't think it will bring a lot of value - especially in a UI-heavy codebase such as ours. |
Beta Was this translation helpful? Give feedback.
-
I'd like to restart this discussion. While unit tests approach seems clear we need to decide on E2E tests. One that I definitely want to see covered is samples having identical rendering in both lists. Detox seems simpler to use and has screenshot comparison as well. How do we feel about Detox vs Appium? I have worked with Appium in the past but not Detox. |
Beta Was this translation helpful? Give feedback.
-
I'd like to start a discussion on how are we going to test the library. I believe 1.0 should have basic testing to cover the supported use cases / props.
Things that I would consider:
Said that, what do you think is the best way to start: which tools should we use? How do measure coverage?
Beta Was this translation helpful? Give feedback.
All reactions