Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What's the preferred way to test an Exponent based app?


Also 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 This is useful for testing network requests, API calls, etc. in your app JS.


Exponent 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 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.


For unit tests, we prefer Jest. We don't have a preference for acceptance testing, you could use Appium or similar tools for that.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: