Can't we mock the ones that use the SDK? On Thu, Jan 29, 2015 at 10:05 AM, Inosh Perera <[email protected]> wrote:
> Hi all, > Yes, From what I read so far, if the functions doesn't use any Android SDK > methods, we can use normal JUnit test case. Some research has to be done > about the best approach to take when writing test case that requires > Android SDK. Following might be useful as a start. > > [1]. http://www.vogella.com/tutorials/AndroidTesting/article.html > > Regards, > Inosh > > > > On Wed, Jan 28, 2015 at 5:17 PM, Prabath Abeysekera <[email protected]> > wrote: > >> Hi Guys, >> >> We need to get this rolling again. Let's focus on getting some good test >> cases written around Android agent and the related functionalities some >> time soon. Also, please make sure that the same is done for the other >> applicable platforms as well. >> >> Cheers, >> Prabath >> >> On Mon, May 5, 2014 at 3:15 PM, Krishanthi Samarasinghe < >> [email protected]> wrote: >> >>> Hi Dilshan, >>> >>> We need to cover following test cases. >>> >>> 1. Unit test cases >>> 2. Functional test cases >>> 3. Integration test cases >>> 4. UI test cases >>> >>> Since I have already started to implement test cases using Android >>> Testing API and it is possible to cover all test cases we need, I have >>> decided to user Android Testing API. >>> >>> That is the same API[1] which is used for Activity Testing you have >>> mentioned above. >>> >>> >>> [1] - http://developer.android.com/tools/testing/index.html >>> >>> >>> Thank you. >>> >>> >>> On Sun, May 4, 2014 at 2:39 PM, Dilshan Edirisuriya <[email protected]> >>> wrote: >>> >>>> Hi Krishanthi, >>>> >>>> What exactly do we cover under testing? Is it unit and integration? I >>>> believe you have to write unit test cases, integration test cases, >>>> functional tests for UI and test cases for activities. In coming releases >>>> there could be more apps coming on to cover containerization usecase. Hence >>>> better to take them also in to consideration when selecting a testing API. >>>> For me Monkeyrunner is best suited for all above needs. Also look at >>>> activity testing found at [1]. >>>> >>>> >>>> [1] - http://developer.android.com/tools/testing/activity_testing.html >>>> >>>> >>>> Regards, >>>> >>>> Dilshan >>>> >>>> >>>> On Fri, May 2, 2014 at 11:23 PM, Krishanthi Samarasinghe < >>>> [email protected]> wrote: >>>> >>>>> Hi Shan, >>>>> >>>>> I have started to working on writing test cases for Android. >>>>> >>>>> Currently I am working on writing Test Cases for UI components by >>>>> using Android Testing API. >>>>> >>>>> We can also use the Monkeyrunner API for Android testing. For that we >>>>> need to run python script. I am planing to do a research on best approach >>>>> for integration testing. >>>>> >>>>> Thank you. >>>>> >>>>> -- >>>>> Best Regards, >>>>> Krishanthi Bhagya Samarasinghe >>>>> Senior Software engineer >>>>> >>>>> Mobile: +94 716028280 >>>>> >>>>> >>>>> _______________________________________________ >>>>> Architecture mailing list >>>>> [email protected] >>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>>>> >>>>> >>>> >>>> >>>> -- >>>> Dilshan Edirisuriya >>>> Senior Software Engineer - WSO2 >>>> Mob: + 94 777878905 >>>> http://wso2.com/ >>>> >>>> _______________________________________________ >>>> Architecture mailing list >>>> [email protected] >>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>>> >>>> >>> >>> >>> -- >>> Best Regards, >>> Krishanthi Bhagya Samarasinghe >>> Senior Software engineer >>> >>> Mobile: +94 716028280 >>> >>> >>> _______________________________________________ >>> Architecture mailing list >>> [email protected] >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>> >>> >> >> >> -- >> Prabath Abeysekara >> Associate Technical Lead, Data TG. >> WSO2 Inc. >> Email: [email protected] >> Mobile: +94774171471 >> > > > > -- > Inosh Perera > Software Engineer, WSO2 Inc. > Tel: 0785293686 > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- ------------------------------ *Sameera Perera* Director of Engineering gtalk: [email protected] Tel : 94 11 214 5345 Fax :94 11 2145300 *WSO2, Inc.* <http://wso2.com/> lean.enterprise.middleware
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
