#13232 closed defect (fixed)
runner.html does not add parsed paths to require config object
Reported by: | tommahieu | Owned by: | haysmark |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | TestFramework | Version: | 1.7.0b1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The URL paths (and registerModulePath) parameter passed to runner.html is parsed, but not passed to the require config object.
Consequently, test modules in directories that are not siblings to the dojo directory can never be loaded.
Attachments (2)
Change History (9)
Changed 10 years ago by
Attachment: | runner.html.diff added |
---|
comment:1 Changed 10 years ago by
Owner: | alex deleted |
---|
comment:2 Changed 10 years ago by
Owner: | set to haysmark |
---|
Mark, there's no testcase provided. Can you try to recreate this and commit the patch if appropriate?
Changed 10 years ago by
Attachment: | mytests.zip added |
---|
comment:3 Changed 10 years ago by
I attached the testcase that I've used (sorry for the inconvenience, I should have done that immediately). File structure on the server is as follows
Server root |-- mytests | |-- coretest.html | |-- module.js | +-- runTests.html +-- src |-- dijit |-- dojo |-- dojox |-- util
Note that I also had to apply #13234 on 1.7.0b1 before I could get the tests running
comment:4 Changed 10 years ago by
comment:5 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed 10 years ago by
Milestone: | tbd → 1.7 |
---|
comment:7 Changed 9 years ago by
Hello,
It seems the problem is only half fixed. The solution seems to work for a simple module name 'myModule', but not for a composed path : 'my.module'
patch adding paths property to require config object