Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F67E9656 for ; Fri, 13 Jan 2012 23:37:05 +0000 (UTC) Received: (qmail 9912 invoked by uid 500); 13 Jan 2012 23:37:05 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 9890 invoked by uid 500); 13 Jan 2012 23:37:04 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 9877 invoked by uid 99); 13 Jan 2012 23:37:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2012 23:37:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bowserj@gmail.com designates 209.85.212.175 as permitted sender) Received: from [209.85.212.175] (HELO mail-wi0-f175.google.com) (209.85.212.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2012 23:36:57 +0000 Received: by wibhm17 with SMTP id hm17so785864wib.6 for ; Fri, 13 Jan 2012 15:36:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qsEQ88cJlmZEQvx1UzNynqIHDu60TOgWXqzXWhf/qS8=; b=WHdFbeJWxgtk/V9Qa+GqJny/vU94zmw+HtqW4fOldv4G6Ky1AEwZsks7jVg0t5imXy jfHxD2ZGZ0IheEEBVAraCuqbl7vX7eS2JTFhLOSrVawBOBSQm5KYZFlqrb+Cjkgaihc5 403WBjSCchZWJCH/A2TJ4oRsBPm/7dk7wCHzs= MIME-Version: 1.0 Received: by 10.180.96.7 with SMTP id do7mr130962wib.16.1326497797001; Fri, 13 Jan 2012 15:36:37 -0800 (PST) Received: by 10.223.111.81 with HTTP; Fri, 13 Jan 2012 15:36:36 -0800 (PST) In-Reply-To: References: Date: Fri, 13 Jan 2012 15:36:36 -0800 Message-ID: Subject: Re: Update on CordovaView/CordovaActivity Testing From: Joe Bowser To: callback-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d044472a3fc51a504b67155e0 X-Virus-Checked: Checked by ClamAV on apache.org --f46d044472a3fc51a504b67155e0 Content-Type: text/plain; charset=ISO-8859-1 Hey Here's how you can run the tests from the command line: adb shell am instrument -w com.phonegap/android.test.InstrumentationTestRunner This will allow you to run the current tests without having to use Eclipse. We can script and automate this now, and get the tests here running. If I can somehow get WebDriver with a functional view, we can also start functional testing of Cordova. Does anyone have any experience with getting WebDriver going? Joe On Fri, Jan 13, 2012 at 1:50 PM, Joe Bowser wrote: > Hey > > I bit the bullet and I added the tests and the test activities to the main > Cordova-Android project. You still need eclipse to run the tests for now, > but they should be right here: > > https://github.com/infil00p/callback-android/tree/phonegapview > > Ideally we want to figure out how to get this to run without Eclipse, and > it should be possible to do so. I added a test to test the backHistory > which I broke as well. We should be able to do more TDD with Cordova. To > get this running, you just have to load this in Eclipse, and just run it as > a JUnit project. > > The tests are in com.phonegap.test and the test case activities are in > com.phonegap.test.activities. I'm thinking of removing StandAlone now that > we have the test activities since it's no longer needed. Please take a > look at this and let me know if you have any questions/issues. > > Joe > --f46d044472a3fc51a504b67155e0--