This came up in the platform meeting yesterday, and apparently there
were some concerns, so I'd like to talk a little more about what we're
doing and answer any questions that people have.

The A-Team is undertaking a project to move our test harnesses away from
using automation.py[1]. The primary goal here is maintainability. We've
long had to fix automation issues in multiple places because the code
that Talos and our unit test harnesses use was not shared. We've written
a set of modules ("mozbase"[2]) that encapsulate the important
functionality we've grown over the years in our various test harnesses.
Because they've been designed from the start as a set of Python modules,
they're easier to use in new projects, and also not as tied up with
specific harnesses. We've intended to make this transition for some time
now, but been held up by some blocking issues.

We're attacking this from multiple angles, since we have a myriad of
test harnesses. We're looking to first fix some of the simple
mini-harnesses like profileserver.py and leaktest.py that are only run
from object directories, as well as some of the B2G-specific harnesses,
since they have the fewest dependencies (mobile and B2G harnesses
inherit functionality from the desktop versions). We have a lot of work
to do, so we could certainly use some more help.

Our long-term goal will be to obsolete automation.py and have all
harnesses using mozbase modules directly. If we have necessary
functionality that's shared among harnesses that isn't currently
provided by mozbase we will add that functionality to mozbase as we
progress.

If you have any questions about the transition feel free to ask.

-Ted

1. https://bugzilla.mozilla.org/show_bug.cgi?id=775756
2. https://github.com/mozilla/mozbase/

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

Reply via email to