3 ms·
What's the preferred way to test an Exponent based app?
by aantix 10y ago
What's the preferred way to test an Exponent based app?
- ccheever 10y agoExponent apps have URLs, so if you have the URL for an Exponent app, you can just download the Exponent developer app from the iOS App Store / Play Store and then open the URL. Ex. Try opening https://getexponent.com/@exponent/floatyplane https://getexponent.com/@exponent/floatyplane from your phone. If you have the source code for the app, just open the project directory in XDE (our desktop software) and it will give you a development URL that you can open in the Simulator or on your phone. In general, testing Exponent apps is way easier than testing apps other ways. We put a lot of time into making it simple.
- brentvatne 10y agoFor unit tests, we prefer Jest. We don't have a preference for acceptance testing, you could use Appium or similar tools for that.
- nikki93 10y agoAlso if you meant automated testing, here's an Exponent app that runs jasmine to test Exponent SDK API end-to-end: https://github.com/exponentjs/test-suite https://github.com/exponentjs/test-suite This is useful for testing network requests, API calls, etc. in your app JS.