Open Bug 1310153 Opened 8 years ago Updated 2 years ago

Run Enzyme testing in TaskCluster

Categories

(DevTools :: Netmonitor, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: rickychien, Unassigned)

References

(Depends on 1 open bug)

Details

Enzyme testing framework (it's base on mocha unit testing) will be enabled on TC once all setups for testing infrastructure are done. A new test suite instance would be introduced and show up on taskcluster page like ES for eslint. This would require A-team help and understand what we should prepare.
Now that we have in-tree scheduling, there's no need to ask another team to schedule a new job -- you can do it yourself! So this is a bug the TaskCluster team would take the lead on, although of course we're happy to assist and advise. It would be great to have this bug assigned to whoever will be working on it, and/or moved to a different component while awaiting an owner.
Summary: Enable new mocha unit test suite on Test Cluster → Run Enzyme testing in TaskCluster
Dustin, could you guide me how to schedule a new job? I don't know where we get the example or documentation and event where is the code we can touch in mozilla-central. Once our testing framework is set up, we expect that TC is able to cd into a particular subfolder and trigger a `npm install & npm test`.
Component: General → Developer Tools: Netmonitor
Flags: needinfo?(dustin)
Product: Taskcluster → Firefox
Sure, there's a good bit of information here: http://gecko.readthedocs.io/en/latest/taskcluster/taskcluster/
Flags: needinfo?(dustin)
I saw an great eslint example at http://gecko.readthedocs.io/en/latest/taskcluster/taskcluster/taskgraph.html Something we'd like to do is very likely to eslint. Is there anything we need to set up for running enzyme except creating a new yml file?
Flags: needinfo?(dustin)
There's no need to ask permission or anything like that, if that's what you mean. It will likely be more than creating a single YAML file. The first thing to ask is whether this fits well as a desktop-test task, or source-check, or a new kind.
Flags: needinfo?(dustin)
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.