Closed
Bug 624282
Opened 15 years ago
Closed 14 years ago
Test file with underscore in its name does not get run by cfx test
Categories
(Add-on SDK Graveyard :: Documentation, defect, P2)
Add-on SDK Graveyard
Documentation
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kumar, Assigned: wbamberg)
Details
(Keywords: dev-doc-needed)
Attachments
(1 file)
|
1.94 KB,
patch
|
dietrich
:
review+
|
Details | Diff | Splinter Review |
Steps to reproduce:
- Create a new package following the Add-on sdk tutorial at https://jetpack.mozillalabs.com/sdk/1.0b1/docs/#guide/getting-started
- Create a module
- Create a test file as tests/test_all.js that tests the module per tutorial
- run cfx test
Result:
0 of 0 tests pass
If you rename the file to tests/test-all.js then the test will run but I'd expect it to run as is since the file name starts with 'test'.
At the very least the documentation in the Tiny Test Suite part of the tutorial could be updated to point out this caveat https://jetpack.mozillalabs.com/sdk/1.0b1/docs/#guide/packaging
Comment 1•15 years ago
|
||
Let's document this!
Component: General → Documentation
Keywords: dev-doc-needed
Priority: -- → P3
QA Contact: general → documentation
Target Milestone: --- → 1.0
Comment 2•15 years ago
|
||
(automatic reprioritization of 1.0 bugs)
Priority: P3 → P2
Target Milestone: 1.0 → 1.1
(Pushing all open bugs to the --- milestone for the new triage system)
Target Milestone: 1.1 → ---
| Assignee | ||
Comment 4•14 years ago
|
||
Assignee: nobody → wbamberg
Attachment #569839 -
Flags: review?(dietrich)
Comment 5•14 years ago
|
||
Comment on attachment 569839 [details] [diff] [review]
Shockingly late patch
Review of attachment 569839 [details] [diff] [review]:
-----------------------------------------------------------------
r=me on the patch. should definitely land it. however, would be great to just support "test" as a prefix. but that's for another bug i guess.
Attachment #569839 -
Flags: review?(dietrich) → review+
| Assignee | ||
Comment 6•14 years ago
|
||
Thanks Dietrich!
-> https://github.com/mozilla/addon-sdk/commit/2885fa151f40b43b8404718b999d7b35a98eb73b
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•