Opened 9 years ago

Closed 9 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 9 years ago by James Burke

Go for it as long as tests/module.js requires baseonly.js to get the base tests, to avoid copy/paste errors.

comment:2 Changed 9 years ago by bill

Component: GeneralCore

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 9 years ago by Adam Peller

Milestone: 1.51.6

comment:4 Changed 9 years ago by dante

Resolution: fixed
Status: newclosed

(In [22516]) fixes #10986 - just hit runTests.html in tests/_base/ instead of runTests.html in tests/

Note: See TracTickets for help on using tickets.