aerogear / proposals

AeroGear Proposals
Apache License 2.0
0 stars 17 forks source link

Added proposal for E2E testing #24

Closed wojta closed 6 years ago

wojta commented 6 years ago
wtrocki commented 6 years ago

@wojta We have template for proposals: https://github.com/aerogear/proposals/blob/master/template.md

I think that main risk for this is that at some point it may happen that examples may diverge because of platform specifics and we will not be able to use single test suite. Making sure that both example apps will work with the same test suite will require extra effort etc.

Another smaller risk is IOS, Cordova, React, JS and Xamarin support. It will be nice to get some separate sections for explanation and point out what platforms we going to cover here.

wtrocki commented 6 years ago

@wojta There are two ways to make this proposal mergeable: A focus on Android only B extend proposal to cover other platforms

Do you have any code/examples/investigations that can be seen for this proposal.

wojta commented 6 years ago

@wtrocki
https://github.com/wojta/mobile-security-android-template/blob/8d4742dcb596e637c11f88c63114016cd1322263/integration_tests/src/test/kotlin/com/feedhenry/securenativeandroidtemplate/integrationtests/LoginTest.kt

https://github.com/twnolan/appium-experimentation/pull/2

We don't have demo for page objects in Java/Kotlin yet.

wtrocki commented 6 years ago

@wojta that looks really really promissing. It may be worth to add that example to proposal.

wtrocki commented 6 years ago

@wojta As agreed I will try out apium on IOS to unblock and provide feedback for our example app.

wei-lee commented 6 years ago

In principle I think worth giving Appium a try.

For me, I think choosing which framework to use or writing the tests aren't the biggest problem, but setting up the right testing infrastructure and making the E2E tests automated is. I would like to see if it is possible to get some POC done to prove that the proposed solution will work.

Also would like to see the feedbacks from the QE team. @AdamSaleh @psturc do you guys have any thoughts/ideas/comments?

wojta commented 6 years ago

I have vitrified proposals and put them into the new files and changed them according to the template. Old ones are still there in separate directory, because they contain relavant information about what led to the final proposal.

E2E_Test_suite.md E2E_Test_infrastructure.md

@twnolan please recheck if it's correct. @wei-lee @wtrocki @AdamSaleh @josemigallas if you can comment and review

wojta commented 6 years ago

Thanks @psturc. Great work of @twnolan also.

twnolan commented 6 years ago

@wojta This looks fine to me.