Hi y'all,

Last week I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1957513 for
investigating ways to improve mochitest and xpcshell-test tests for Firefox
Desktop. I initially was proposing a decorator based approach (à la
NormandyTestUtils [1]) but I've also implemented a mocha-ish to add_task
wrapper which is entirely opt-in. I've attached patches for both patterns
to the bug, as well as some additional patches which migrate a single test
(test_FirefoxLabs.js) to each of these patterns.

I'm hoping this drives some discussion on these patterns (or other
potential patterns). Feedback is much appreciated.

Thanks!
Beth

[1]:
https://searchfox.org/mozilla-central/source/toolkit/components/normandy/test/browser/browser_AddonStudies.js#16-21

-- 
You received this message because you are subscribed to the Google Groups 
"dev-platform@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dev-platform+unsubscr...@mozilla.org.
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CA%2BSxwbfJv-1sUmTJhF8Cm9Bfo%3DjRYtnL7kKg30X13pM0W24XEA%40mail.gmail.com.

Reply via email to