Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92F7E1167D for ; Tue, 17 Jun 2014 21:17:15 +0000 (UTC) Received: (qmail 80410 invoked by uid 500); 17 Jun 2014 21:17:15 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 80372 invoked by uid 500); 17 Jun 2014 21:17:15 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 80357 invoked by uid 99); 17 Jun 2014 21:17:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2014 21:17:14 +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 mmocny@google.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vc0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2014 21:17:12 +0000 Received: by mail-vc0-f176.google.com with SMTP id ik5so6957983vcb.35 for ; Tue, 17 Jun 2014 14:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=QOsAlWaHVquWgCJHxSdP3CFvstq9UbHxoi6vHUlXIMI=; b=n+57oYfgZZ8s5tQMFnkNZ9ANUed81pFhFta0DdaA9iCGgigudfoIK0m9B72mG1nAvv lY7WBt8iz/s5LjT1UwXzmwgYR7t69aNUiTDYg5mNxgl/ePukRsHW9pTmgt9cWGeMOwxk 5csPOeczjPf3U4iVeeJGOdUrsf8gwkeJeLi47OVwZJbQ8Dn3oNsHNGikY82ft5xNfCNR L8WXUMHsafPQ9BKj6RDthf1QFT2tMY4oePsVzPjImxSnWP4X26/TpW7Y16Wd+b47Kgwr YAY5Fb/D/RoshWe8qFMKVXwmFw1RAlXH8rRR4vIAJjoBjQWZS+amj7yuACVFC7UKvuQs +95g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=QOsAlWaHVquWgCJHxSdP3CFvstq9UbHxoi6vHUlXIMI=; b=PvCkZ+Rn/3HDkFz/VqV86oO23AdX9oLL9evYf+r7/4mFReQecLSaIAanrqgqfw3VE4 BCobjqXK4PuEvuqmQnFSaXmj1XovcE+XEkH5qZHnLCs5baO8k0KQZZ9okSWlMc872HlH k7HAzUFDNVQZXb7UnPUDbHnhUlWwLH2wd/avk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=QOsAlWaHVquWgCJHxSdP3CFvstq9UbHxoi6vHUlXIMI=; b=C+cfklw+f0UmAwVbT690TkDBpgtNgKBhZkNDK8NHtQc0hZR9C/7X+dUzPv3soc2zsK fnrfS91lCdNhV+FX5Ea7GjyNKPxhZFiZ4uqHpCu0vSdjCegSo6YnagLna3ilniOQshHy XOs9kpQZw+aJ8Bmpp3ksLnJ3UQaFmnqJ36hPEgDUiU9VfDLtIQL3aUZEMyDpuc0iNfzZ IgWGZ53tfGxrVMLWD+x0Yv0bos8FoV6VOROuvp9Bp0CBSwJ1OqdfSi4TM+DE7OULHEwD aoBYtpaG1mXzn808H29pchuJuWWQUJSq3WT0C1Dcsv7tGoHoU+2JXgS4Z6GSfopcEUiP zz7Q== X-Gm-Message-State: ALoCoQnNXFZMfqmuRZE3qbdp2t0t8UlAsAy2mgXJPyv01Lz1lTwv3fXtaZQoLzwUjSnLJ47FeD6d X-Received: by 10.58.122.138 with SMTP id ls10mr24539237veb.13.1403039808011; Tue, 17 Jun 2014 14:16:48 -0700 (PDT) MIME-Version: 1.0 Sender: mmocny@google.com Received: by 10.52.31.101 with HTTP; Tue, 17 Jun 2014 14:16:27 -0700 (PDT) In-Reply-To: References: <60E772CA-E139-43BC-B79F-68D1172C031E@gmail.com> <53A07FF0.1060300@mozilla.com> <53A08167.8060206@mozilla.com> <53A0A343.7090001@mozilla.com> <53A0A608.6010406@mozilla.com> From: Michal Mocny Date: Tue, 17 Jun 2014 17:16:27 -0400 X-Google-Sender-Auth: ovy6yhZzv1JD45OgiGabiH4WCyE Message-ID: Subject: Re: plugin test framework To: Michal Mocny Cc: dev , Martin Gonzalez Content-Type: multipart/alternative; boundary=047d7b2e54b85cdf0704fc0ea9a8 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b2e54b85cdf0704fc0ea9a8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Piotr: Actually I'm not sure how running tests in the harness would work, since the path to the resource may be different. However, in general, with development using the harness you aren't making any changes to plugins. The whole point is for app developers who want to modify only web application bits and not deal with native compiles. In theory the app harness could support working on the js-modules of plugins, but that sounds like a really niche idea. I'd not be opposed to someone working on it but I'm not sure you'll have luck finding volunteers. -Michal On Tue, Jun 17, 2014 at 5:13 PM, Michal Mocny wrote: > At the time I went through my design iterations I just didn't want to > necessarily depend on cordova tooling changes / documentation. In other > words, someone else may have a different strategy for testing.. > > My personal opinion would be have the test plugin ship with a plugin hook > (those are in, right? or at least on their way), that will automatically > update the start page if you pass a flag to run command. Ie, in an ideal > world: `cordova run --tests` runs a plugin hook passing in --tests flag > which changes the start page, in a way that isn't overwritten by the > top-level config.xml. > > My 2 cents, since I don't want "our way" of testing mobile spec to be "th= e > only way" to test. Frameworks and opinions on testing change. > > -Michal > > > On Tue, Jun 17, 2014 at 4:33 PM, Piotr Zalewa wrote= : > >> One thing more - it would be great if user could create a test using tes= t >> harness app as well. Is it also considered? >> >> Dnia Tue Jun 17 13:27:22 2014 Martin Gonzalez pisze: >> >> It would be a nice to have in the cli, aimed to just setup the right pa= th >>> in the config.xml, maybe along with an another argument to build, >>> run/emulate as well. >>> It sounds great. >>> >>> >>> 2014-06-17 15:21 GMT-05:00 Piotr Zalewa : >>> >>> Thanks Martin, >>>> >>>> Has it been considered to create a separate command "testrun" or simil= ar >>>> which would remove the need to edit the config.xml? >>>> >>>> Dnia Tue Jun 17 11:58:33 2014 Michal Mocny pisze: >>>> >>>> Martin, thanks for posting those links. >>>> >>>>> >>>>> And I'll look into the INFRA tickets I need to file to set up a repo >>>>> for >>>>> that plugin, since its ready to come out of labs. >>>>> >>>>> >>>>> On Tue, Jun 17, 2014 at 2:06 PM, Martin Gonzalez < >>>>> martin.c.glez.glez@gmail.com> wrote: >>>>> >>>>> This is the Cordova Plugin Test Framework readme.md, you can catch >>>>> up >>>>> >>>>>> with >>>>>> the functionality by reading some of the content: >>>>>> >>>>>> Repository: >>>>>> https://github.com/apache/cordova-labs >>>>>> >>>>>> Docs: >>>>>> https://github.com/apache/cordova-labs/blob/master/README.md >>>>>> >>>>>> https://github.com/apache/cordova-labs/blob/cdvtest/ >>>>>> cordova-plugin-test-framework/README.md >>>>>> >>>>>> >>>>>> >>>>>> 2014-06-17 12:56 GMT-05:00 Piotr Zalewa : >>>>>> >>>>>> a documentation explaining how it's gonna work >>>>>> >>>>>>> >>>>>>> Dnia Tue Jun 17 10:51:58 2014 Michal Mocny pisze: >>>>>>> >>>>>>> What do you mean? >>>>>>> >>>>>>> >>>>>>>> >>>>>>>> On Tue, Jun 17, 2014 at 1:50 PM, Piotr Zalewa >>>>>>>> wrote: >>>>>>>> >>>>>>>> Is there any predev document? >>>>>>>> >>>>>>>> >>>>>>>>> Dnia Mon Jun 16 18:30:46 2014 Andrew Grieve pisze: >>>>>>>>> >>>>>>>>> Yeah, really exciting. Thanks for taking this on. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> On Mon, Jun 16, 2014 at 3:42 PM, Michal Mocny < >>>>>>>>>> mmocny@chromium.org> >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> Fantastic! >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> I'll try to keep an eye out on the PR's, and please ping me if >>>>>>>>>>> you >>>>>>>>>>> would >>>>>>>>>>> like any help. >>>>>>>>>>> >>>>>>>>>>> -Michal >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Mon, Jun 16, 2014 at 3:25 PM, Marcel Kinard < >>>>>>>>>>> cmarcelk@gmail.com> >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>> Hi, after some discussions here with IBM management, we=E2= =80=99re >>>>>>>>>>> going >>>>>>>>>>> to >>>>>>>>>>> >>>>>>>>>>> bring >>>>>>>>>>> >>>>>>>>>>>> in a couple extra interns for a week to jumpstart the migratio= n >>>>>>>>>>>> of >>>>>>>>>>>> >>>>>>>>>>>> the >>>>>>>>>>> >>>>>>>>>> >>>>>> tests out of mobile-spec into the new plugin test framework. Staci >>>>>>> >>>>>>>> Cooper >>>>>>>>>>>> will be leading this effort, and Martin Gonzalez will be a par= t >>>>>>>>>>>> of >>>>>>>>>>>> >>>>>>>>>>>> it. >>>>>>>>>>> >>>>>>>>>> >>>>>> >>>>>>> So if you see a bunch of pull requests, this is what it is for. >>>>>>>>>>>> >>>>>>>>>>>> We=E2=80=99ll >>>>>>>>>>> >>>>>>>>>> >>>>>> get >>>>>>> >>>>>>>> the interns to submit an ICLA asap. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Piotr Zalewa >>>>>>>>> Mozilla >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>> >>>>>>> Piotr Zalewa >>>>>>> Mozilla >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> Martin Gonzalez >>>>>> >>>>>> >>>>>> >>>>> -- >>>> Piotr Zalewa >>>> Mozilla >>>> >>>> >>> >>> >>> >> -- >> Piotr Zalewa >> Mozilla >> > > --047d7b2e54b85cdf0704fc0ea9a8--