-
-
Notifications
You must be signed in to change notification settings - Fork 44
How is this library different from react-native-testing-library by Callstack? #1
Comments
👋 howdy. I actually wouldn't say it's "inspired" by, so much as it's a result of. If you want an in-depth answer, you can check out the medium post. If you're lookin for more of a concise answer, I, my team, even Kent himself felt like there needed to be a solution that more closely adhered to the guiding principles. Key points:
These are important concepts in |
Hey @bcarroll22 Sweet, thanks for the reply. I said inspired because that's what the readme mentioned (8939db0). I'm interested in learning the differences in more details to learn more about your library and I read the medium post and it doesn't specifically mention what's missing in details (which is on purpose according to the post). Are there any specific technical details about the differences? Perhaps you can share it with me in private if you're not comfortable sharing it publicly? Cheers and happy Friday 👍 |
Yeah, re-reading the README after your comment prompted me to go back and edit the wording of that section to clarify. I think it’d be hard to explain technical details why you’d use one or the other... the code or documentation would probably do a better job of that. Most importantly, I think a decision to use this one/that one would come down to philosophy more than technology anyways. If you’re not super familiar with the real react-testing-library, the guiding principles of it, and the teachings of Kent about how to test apps properly, that’d be a good place to start. Although Unfortunately past that I’m not sure I’ll be able to offer much more at this point. The library is brand new, so real world use cases, benchmarks, metrics, etc. aren’t really there yet. You’re welcome to try it out and browse the code and docs of both libraries though, maybe that would help you the most if you’re still looking for more technical details? The docs site is pretty thorough and there’s over 100 tests that show how to use it in practice. Happy Friday to you as well! |
Okay cool, thanks for the reply. I'll read the docs and experiment with the library. Thanks and enjoy the weekend 👍 |
Hi there, I know this library is inspired by
react-native-testing-library
, but what are the differences?The text was updated successfully, but these errors were encountered: