RN-DETOX-E2E-TEST-HELPER
Description
A whitebox E2E testing SDK to build your E2E tests for React Native, Native Android, Native iOS applications. It's a wrapper over Wix's Detox, axios. Build & run rock-solid E2E tests & generate fancy test reports.
Features
- Provides wrapper method for making api requests. All commonly used HTTP request methods are supported (GET, POST, DELETE, PUT)
- Generates junit xml and allure report
- Allows to perform all kinds of user interations like tap, scroll, enter text
- Provides direct methods for dismissing keyboard
- Contanins wrapper methods for generating random sequence of alphanumeric & numeric characters of defined length
- Allows date conversion to epoch and vice versa
Reporting
- Generates allure reports package at the root of the project which can be accessed with allure serve
- Generates junit xml reports with name junit.xml at the root of the project
PS: More features will be added based on requirements.
Steps To Use The Lib
- Go to root directory of your project (where package.json lies)
- npm i rn-detox-e2e-test-helper to add lib to package.json
- Start using the helper methods