Closed Bug 588665 Opened 14 years ago Closed 14 years ago

cfx's test runner package should be user-configurable

Categories

(Add-on SDK Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: avarma, Assigned: avarma)

Details

Attachments

(1 file)

cfx currently uses the "test-harness" package to run tests, but if a developer wants to write their own test runner or use a third-party one, they shouldn't have to change the source code or replace the test-harness package.

So, it would be nice to have a "--test-runner-pkg" option.
Attached patch patchSplinter Review
Attachment #467284 - Flags: review?(myk)
I also wonder if it'd be useful to rename test-harness to test-runner, since that would be a more appropriate name for it.
Assignee: nobody → avarma
Status: NEW → ASSIGNED
Comment on attachment 467284 [details] [diff] [review]
patch

Looks good, seems to work, r=myk

(In reply to comment #2)
> I also wonder if it'd be useful to rename test-harness to test-runner, since
> that would be a more appropriate name for it.

Sure.  Note that you'll also have to update the name in test-packaging.js line 27:

  test.assertEqual(packaging.options.metadata['test-harness'].author,
Attachment #467284 - Flags: review?(myk) → review+
Pushed!

Bug 588665 - cfx's test runner package should be user-configurable
Atul Varma [:atul]
http://hg.mozilla.org/labs/jetpack-sdk/rev/7c542d8c8981
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.

To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: