Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
534 views
in Technique[技术] by (71.8m points)

automated tests - Guide to automation framework in detox : React Native? Creating End 2 end and integration testing framework


Automation testing on detox for react native apps to create E2E tests and integration tests. Need suggestion on the following:

  • Best Automation Framework that can be used TDD,BDD to avoid refactoring of code.
  • How to create integration tests for Android and iOS using detox and jest
  • Easy to use TestRunner Mocha or Jest or any other.
  • Any reporting mechanism once the test has been executed.
  • Any POC on detox automation for e2e testing with CI/CD.
  • Design Pattern like POM how to use it for React Native
  • Any Sample detox repository with step by step approach to integrate it with RN app.

Note: I have already installed the required dependency need in detox with Mocha from Wix git repo and successfully launched the demo project.Looking for a Framework template that I can use it as a reference in designing my own framework.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I would go for jest together with detox. You can use the same test executer for unit and integration tests by configuring projects in jest. This way you can execute them in the same run. CI/CD for detox is documented well and works great for iOS. Android is still not possible on the most common CI/CD platforms


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...