rn-detox-e2e-test-helper

1.0.17 • Public • Published

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

  1. Provides wrapper method for making api requests. All commonly used HTTP request methods are supported (GET, POST, DELETE, PUT)
  2. Generates junit xml and allure report
  3. Allows to perform all kinds of user interations like tap, scroll, enter text
  4. Provides direct methods for dismissing keyboard
  5. Contanins wrapper methods for generating random sequence of alphanumeric & numeric characters of defined length
  6. Allows date conversion to epoch and vice versa

Reporting

  1. Generates allure reports package at the root of the project which can be accessed with allure serve
  2. 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

  1. Go to root directory of your project (where package.json lies)
  2. npm i rn-detox-e2e-test-helper to add lib to package.json
  3. Start using the helper methods

Package Sidebar

Install

npm i rn-detox-e2e-test-helper

Weekly Downloads

4

Version

1.0.17

License

MIT

Unpacked Size

36.5 kB

Total Files

10

Last publish

Collaborators

  • saransh_sharma