Opened 11 years ago
Closed 11 years ago
#10986 closed defect (fixed)
no way to run only dojo.js base unit tests
Reported by: | dante | Owned by: | dante |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | Core | Version: | 1.4.0 |
Keywords: | jburke | Cc: | |
Blocked By: | Blocking: |
Description
There is no way to run only _base unit tests. runTests.html links to a module which includes base and all of core. These tests take a long time to run and sometimes you just want to ensure a tiny change to base didn't regress internally, or just to add a test or two.
I have locally a runTests-base.html and baseonly.js module which runs only base unit tests. any reason we shouldn't add them?
Change History (4)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Component: | General → Core |
---|
To follow the djit pattern of Editor you'd have a runTests.html file in dojo/tests/_base. Seems maybe a bit better than runTests-base.html in the tests/ directory?
comment:3 Changed 11 years ago by
Milestone: | 1.5 → 1.6 |
---|
comment:4 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Go for it as long as tests/module.js requires baseonly.js to get the base tests, to avoid copy/paste errors.