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 "the only way" to test. Frameworks and opinions on testing change. -Michal On Tue, Jun 17, 2014 at 4:33 PM, Piotr Zalewa <pzal...@mozilla.com> wrote: > One thing more - it would be great if user could create a test using test > 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 path >> 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 <pzal...@mozilla.com>: >> >> Thanks Martin, >>> >>> Has it been considered to create a separate command "testrun" or similar >>> 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.g...@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 <pzal...@mozilla.com>: >>>>> >>>>> 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 <pzal...@mozilla.com> >>>>>>> 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 <mmo...@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 < >>>>>>>>>> cmarc...@gmail.com> >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> Hi, after some discussions here with IBM management, we’re >>>>>>>>>> going >>>>>>>>>> to >>>>>>>>>> >>>>>>>>>> bring >>>>>>>>>> >>>>>>>>>>> in a couple extra interns for a week to jumpstart the migration >>>>>>>>>>> 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 part >>>>>>>>>>> of >>>>>>>>>>> >>>>>>>>>>> it. >>>>>>>>>> >>>>>>>>> >>>>> >>>>>> So if you see a bunch of pull requests, this is what it is for. >>>>>>>>>>> >>>>>>>>>>> We’ll >>>>>>>>>> >>>>>>>>> >>>>> get >>>>>> >>>>>>> the interns to submit an ICLA asap. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> >>>>>>>>> >>>>>>>>> Piotr Zalewa >>>>>>>> Mozilla >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>> >>>>>> Piotr Zalewa >>>>>> Mozilla >>>>>> >>>>>> >>>>>> >>>>> >>>>> -- >>>>> Regards, >>>>> Martin Gonzalez >>>>> >>>>> >>>>> >>>> -- >>> Piotr Zalewa >>> Mozilla >>> >>> >> >> >> > -- > Piotr Zalewa > Mozilla >