On 8/16/2012 5:31 AM, Aryeh Gregor wrote:


4) Require that all new tests that qualify as reusable must be checked
into a specific new directory created for this purpose, rather than
someplace near the code as they are currently.  Reviewers need to
eventually start giving r- for tests written in the wrong format or
put in the wrong place, although it would make sense to phase the
requirement in over time and not be too strict at first.  Test writers
do not have to bother actually publishing them -- they just have to
write them in the correct format and put them in the correct directory
in the source tree.
I agree with the first 3 points, but I object rather strongly to this one. I think we should try to keep the tests close to the relevant code whenever possible; this makes it more clear which module owner is responsible for the test, and makes it easier to find and run the relevant tests when modifying code. I think our system should try to keep this style of tests in the code module.


5) Make sure someone is keeping an eye on the reusable-tests
directory, and submitting the tests as appropriate to somewhere where
they can be easily reused.  This might involve submitting some of them
to standards bodies for formal approval.  Other tests might not
currently follow any standard, but could still be imported by other
browsers to test for crashes or assertions, or to flag possible
regressions.  Those tests might not be moved anywhere special, but
should still be easier for other browsers to reuse than they are now.
Why do you think it would be better to have (somebody == Ms2ger) do this, instead of expecting module owners in general to be a part of this task? It feels to me that module owners should primarily be trying to accomplish this sort of thing, and if they need help figuring out the right standards body, asking for help from Ms2ger or other experts is a great fallback plan.

Given the recent discussion about QA, it feels like this would also be a great thing to involve QA in.

--BDS

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

Reply via email to