setupTest() and teardownTest() are not executed if no valid test method has been found in the file

RESOLVED WONTFIX

Status

Testing Graveyard
Mozmill
--
major
RESOLVED WONTFIX
4 years ago
2 years ago

People

(Reporter: whimboo, Unassigned)

Tracking

Details

(Whiteboard: [mozmill-2.1+])

Attachments

(2 attachments)

(Reporter)

Description

4 years ago
For restart tests we have implemented setupTest() and teardownTest() which are methods Mozmill should run each time after a restart. So not for the very first time inside a module. Surprisingly this method is not getting executed, if no valid test method is found. This can happen because there is indeed not such a method, or the call to restartApplication got a wrong name of the method.

This is a major issue which can leads to failures. I wanna get this fixed for 2.1.
(Reporter)

Comment 1

4 years ago
Created attachment 8494468 [details]
testcase
(Reporter)

Comment 2

4 years ago
Created attachment 8494469 [details]
testcase 2 (restart)
(Reporter)

Comment 3

2 years ago
We are not going back to use Mozmill for our UI testing of Firefox and this isn't a blocker at all which would prompt us to do another release.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
(Assignee)

Updated

2 years ago
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.