On Thu, Jan 3, 2013 at 10:03 PM, Jonathan Griffin <[email protected]> wrote: > Hi Jonas, > > I don't think it would take much work to add support for running b2g > mochitests on the b2g desktop build, it just hasn't been a priority since > we're not running tests in that environment for TBPL, and there hasn't been > much interest from developers, at least that I've heard. However, if it > would be a big help, I'd be happy to tackle that.
I would qualify it as a huge boost for our ability to get tests for the various non-hardware APIs that we are doing. I.e. things like the apps API, DeviceStorage, Contacts, etc. >> Additionally marionette >> tests require writing mixed javascript and python and generally >> requires doing more complex things than mochitests currently do, >> especially for platform developers who are mostly experienced in >> javascript as well as the APIs they are testing. > > > That isn't accurate; all of the WebAPI tests are JavaScript-only (e.g., > http://mxr.mozilla.org/mozilla-central/source/dom/sms/tests/marionette/test_incoming.js). Cool! That is definitely awesome. > However, your point is well-taken, that Marionette was never intended as a > mochitest replacement, but rather as a harness that allows us to do things > that mochitest can't. For things that mochitest can do, I agree we should > continue to use it. > > I'll need to look at it before I can give an ETA, but you can follow > https://bugzilla.mozilla.org/show_bug.cgi?id=826111 for progress. Thanks! This will be hugely helpful if we can get preliminary patches relatively soon. Long term I think we'll want to have CI tests running B2G desktop given how strongly both gecko and gaia developers prefer to use this as a development environment. So regressions here is almost just as big of a pain as on-device regressions (we've lost much productivity to regressions here already). But CI is definitely a separate issue. / Jonas _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
