Justin Lebar wrote on 10/25/12 10:06 AM:

> I'd probably be a lot more sympathetic to this proposal if I
> understood in a concrete way how making my life a little harder here
> would make your life a little easier.  What problem exactly are you
> trying to solve?

Good points. So let me give one example.

I was looking at the following URL:
http://mxr.mozilla.org/mozilla-central/source/dom/tests/mochitest/

Why have those tests be placed into this location and not beside the
actual implementation code? It's hard when you work on tests (e.g.
fixing brokenness) and you have to check the implementation. It takes a
bit of time you have to spend on figuring out where the source actually
lives.

> I personally like the fact that we don't have the tests in
> dom/browser-element/tests/mochitest.  The extra directory would have
> just one child, so from my perspective, it would add very little.  (I
> have to type this path all the time.)  I don't know how many other
> folders you'd need to change in a similar way.

I don't think I have a problem with it. If there is only one single type
of test harness used,  we could have the tests directly under a folder
with it's name. Once more are getting added we could consider to move
e.g. the mochitests to tests/mochitest/.

-- 
Henrik
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to