Opened 11 years ago

Closed 3 years ago

#7076 closed defect (patchwelcome)

Support deferred in DOH setUp/tearDown

Reported by: guest Owned by: bill
Priority: low Milestone: 1.11
Component: TestFramework Version: 1.1.1
Keywords: Cc: alex, jayant.b.sai@…
Blocked By: Blocking:

Description

A test should be able to call setUp, wait for setUp to complete and then runTest(s) and finally tearDown.

Change History (6)

comment:1 Changed 11 years ago by dylan

Milestone: future

comment:2 Changed 8 years ago by Chris Mitchell

Owner: anonymous deleted

comment:3 Changed 7 years ago by bill

Cc: alex added; alex@… removed
Component: GeneralTestFramework

I've wished for this recently myself.

comment:4 Changed 6 years ago by jandockx

+1

comment:5 Changed 6 years ago by bill

Owner: set to bill
Priority: highlow
Status: newassigned

I may do this at some point, as IIRC I've wanted it myself. The code is in doh._runFixture.

Of course the workaround is easy, to just make a separate fixture that does the set up inside a runTest method.

comment:6 Changed 3 years ago by dylan

Milestone: future1.11
Resolution: patchwelcome
Status: assignedclosed

We have moved dojo core to Intern, and the plan is to focus on Intern rather than maintaining DOH. We would accept pull requests for this issue if someone wants to fix it.

Note: See TracTickets for help on using tickets.