Make all APZ subtests use the is/ok/etc functions that emit the subtest name
Categories
(Core :: Panning and Zooming, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
Details
Attachments
(3 files)
If there's a subtest running via runSubtestsSeriallyInFreshWindows, it can use the is
, ok
, etc. functions installed by runSubtestsSeriallyInFreshWindows which emit the subtest filename as well. Some subtests don't do this and so looking at the output from the full test run it's less obvious which subtest is running.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D79170
Assignee | ||
Comment 3•5 years ago
•
|
||
Using SimpleTest.is
directly instead of the "global" is
installed by
runSubtestsSeriallyInFreshWindows means that the helper test filename doesn't
get emitted in the assertions, which is a nice thing to have. (Ditto for ok
and friends).
Problematic tests identified using:
for helper in helper_*.html; do
if [[ $(grep "$helper" test_group*) ]]; then
echo $helper;
grep -e 'SimpleTest.\(is\|ok\)' "$helper";
fi;
done
While it would be nice to catch this sort of thing directly in the code, it's
a bit tricky to do because SimpleTest.(ok|is) do get used legitimately by helper
methods that are used by group subtests and top-level tests.
Depends on D79171
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7adac05ff314
https://hg.mozilla.org/mozilla-central/rev/affabc9da77a
https://hg.mozilla.org/mozilla-central/rev/5fc6a75cec34
Description
•