react-native-camera-v4 icon indicating copy to clipboard operation
react-native-camera-v4 copied to clipboard

Research end-to-end testing and CD

Open MarcoScabbiolo opened this issue 4 years ago • 2 comments

The example apps can be used for end to end testing and with the help of a provider we can automate the process. Detox comes up as the go-to framework for e2e testing.

Some possible providers are: CircleCI, GitHub Actions, AWS Device Farm, Bitrise

E2E testing the camera will be a serious challenge.

MarcoScabbiolo avatar Feb 03 '21 13:02 MarcoScabbiolo

I think we can use detox without any major problems, actually, it's simple to set this. We only need to export testID or something similar at the rn/native components. We can start defining a basic test, maybe just taking a picture and asserting that the picture is being shown on the screen.

What do you think?

MateusAndrade avatar Feb 03 '21 13:02 MateusAndrade

Sure! That would be a great starting point

MarcoScabbiolo avatar Feb 03 '21 13:02 MarcoScabbiolo