REAL is the healthier social media movement. It’s a camera app and social media platform designed with mental health in mind. No ads, no filters and no likes.
| home | profile | create |
|---|---|---|
![]() |
![]() |
![]() |
- execute
yarn installfrom[root]folder to get npm dependencies - execute
pod installfrom/iosfolder to get cocoapods dependencies - create
.env.developmentfile with environment variables as in example - setup sentry config by
- manually creating
ios/sentry.propertiesfile with sentry config - executing
yarn sentry-wizard -i reactNative -p ios androidfrom[root]
- manually creating
- execute
fastlane beta --env developmentfrom/iosfolder
- manually create next application version tag
- execute
fastlane beta --env productionfrom/iosfolder - manually submit next version at
https://appstoreconnect.apple.com/
To make our releases stable we cover code by e2e-tests. We use Detox it is a gray box end-to-end testing and automation library for mobile apps.
Currently, we support e2e-tests only for iOS platform.
- Install Node 8.3.0 or above
- Setting Up an
iOS Environment: - Add env variables from
.env.examplewith prefixE2E_to the.env.developmentfile - Create an
Mailslurpaccount and add your API-key as aMAIL_SLURP_API_KEYvariable to the.env.developmentfile - execute
yarn tests:e2efrom[root]folder to run tests
Tests are located in /e2e/specs folder and have *.e2e.js file extension. Each file represents tests for a one single feature.
As a test runner we use jest it provided describe and it blocks for organizing tests. We use a mix of User Stories and Gherkin syntaxis to make our tests readable and supportable. Use user story in a describe section for describe section for describe testing functionality from a user perspective and use Given, Then, When syntaxis for describing each single test step.


