Closed Bug 968331 Opened 11 years ago Closed 10 years ago

It should be possible to run jetpack tests from a folder that has no add-on code

Categories

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

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 852538

People

(Reporter: evold, Assigned: evold)

References

Details

It should be possible to run a jetpack test suite without creating a package.json or install.rdf I imagine a folder, with a `test` directory and some `test-*.js` files in the `test `folder. Then I can run those tests using `jpm test` and I don't have to create any add-on code, so no `package.json` and no `install.rdf`. jpm would then create a dummy jetpack add-on to package & run these tests as a xpi Of course there is no reason why `jpm` would have to be used, the instruction set here is so simple that a bash script could do it with a few lines.
Summary: It should be possible to run jetpack tests from a folder that has no add-on → It should be possible to run jetpack tests from a folder that has no add-on code
This would require changing the AMO code to a add a check for a `jetpack-test-options.json` file for all add-on types, instead of only doing it for jetpacks inside the jetpack bootstrap.js file. Thoughts?
Assignee: nobody → evold
I am working on this.
Depends on: 1075541
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.