Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#15262 closed defect (fixed)

Runner not loading modules under Safari

Reported by: PeterWAWood Owned by:
Priority: undecided Milestone: 1.8
Component: TestFramework Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

I am not really certain if this is a bug or a problem with the docs

"Okay, so starting up D.O.H. is as simple as running runner.html ... but now you may be asking how do I load my tests? Simple! You pass it as a query parameter to the runner.html. For example, say you just want to run the dojo.date tests, you would load the following in your browser: util/doh/runner.html?testModule=tests.date. What this does is instruct the runner to look in dojo/tests and load the date.js file."

Without a query parameter, the full test set runs. With the query parameter taken from the above example, a empty test is run.

I have attached screenshots.

OS X 10.7.3 & Safari 5.1.5

Attachments (2)

Full DOH test.png (247.9 KB) - added by PeterWAWood 7 years ago.
Screenshot of Full DOH Test
DOH test of date.js.png (112.9 KB) - added by PeterWAWood 7 years ago.
ScreenShot? of DOH tests with ??testModule=tests.date

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by PeterWAWood

Attachment: Full DOH test.png added

Screenshot of Full DOH Test

Changed 7 years ago by PeterWAWood

Attachment: DOH test of date.js.png added

ScreenShot? of DOH tests with ??testModule=tests.date

comment:1 Changed 7 years ago by bill

Milestone: tbd1.8
Resolution: fixed
Status: newclosed

It's a doc problem, fixed in https://github.com/dojo/docs/commit/0de12e7bf4aaa57d17f1ca70450c866c728edfeb#util/doh.rst, thanks.

Also it's better to slashes than dots to get the module name.

comment:2 Changed 7 years ago by PeterWAWood

Thanks Bill

Note: See TracTickets for help on using tickets.