Open Bug 919300 Opened 11 years ago Updated 2 years ago

mochitest sets profile object on self which imposes an undocumented workflow


(Testing :: Mochitest, defect)



(Not tracked)


(Reporter: k0scist, Unassigned)


Objects generally have methods that can be called without precondition
or that take some effort to safeguard against their calling when
preconditions are not met (i.e. sanity checks) or they attempt to
fulfill the preconditions.  The setting of `self.profile` on the
, and B2GMochitest,
, instances imply the one-shot workflow currently used in testing.  If
we want a one-shot....that's fine.  But in this case it would be nice to
document how the harnesses are supposed to work since why
e.g. the profile goes on self and manifest is returned by
buildProfile/build_profile and what else lives as an instance
variables vs in options isn't particularly based on any sort of reason
that I can see.
Component: Mozbase → Mochitest
QA Contact: hskupin
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.