Closed
Bug 928503
Opened 12 years ago
Closed 12 years ago
python gaia unit tests misses some test files
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bkelly, Assigned: jgriffin)
Details
Attachments
(1 file)
It appears that the python gaia-unit-test only runs files that end in '_test.js' that are immediately in an 'unit' directory. Some apps, such as communications/contacts, have tests in sub-directories under 'unit'. These run fine with the javascript client in travis and should probably run in python on tbpl as well.
| Reporter | ||
Comment 2•12 years ago
|
||
Note, some of the tests in sub-directories have their old names in the disabled.json. For example:
communications/contacts/test/unit/contacts_list_test.js
Is now:
communications/contacts/test/unit/view/list_test.js
That may actually be the only instance of that kind if issue.
| Assignee | ||
Comment 3•12 years ago
|
||
Pointer to Github pull-request
| Assignee | ||
Updated•12 years ago
|
Attachment #819920 -
Flags: review?(bkelly)
Comment 4•12 years ago
|
||
Can we wait till we've re-enable all the tests disabled by bug 928915 before landing this?
| Reporter | ||
Comment 5•12 years ago
|
||
(In reply to Anthony Ricaud (:rik) from comment #4)
> Can we wait till we've re-enable all the tests disabled by bug 928915 before
> landing this?
This is against the python driver for the gaia unit tests, not the gaia ui tests. It will only effect TBPL at the moment which is already completely red because of bug 927493.
| Reporter | ||
Comment 6•12 years ago
|
||
Newly run tests that fail after this goes in (for unit tests):
communications/contacts/test/unit/views/form_test.js
calendar/test/unit/templates/alarm_test.js
| Reporter | ||
Comment 7•12 years ago
|
||
Comment on attachment 819920 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/12989
Looks good to me. r=me (Assuming I am allowed to review this. I'm not a peer on this particular code.)
I'd say land this and then we can keep working to make the unit tests green.
Attachment #819920 -
Flags: review?(bkelly) → review+
| Assignee | ||
Comment 8•12 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/875dbde53720d597f85be37090d6be3c0612001b
> I'd say land this and then we can keep working to make the unit tests green.
That's what I was thinking too.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•