Closed Bug 1058531 Opened 10 years ago Closed 9 years ago

Turn coverage checker off by default when using runtests.sh

Categories

(Tree Management :: Treeherder, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

https://treeherder-service.readthedocs.org/en/latest/installation.html recommends using runtests.sh, which by default enables the coverage checker.

This presumably takes longer, and adds cruft to the srcdir & also the console output - and is unlikely needed (a) most of the time, and (b) by someone new using the helper scripts rather than test.py directly.

Let's turn it off by default :-)
I think we could even get rid of runtests.sh itself, using python setup.py test instead.
(In reply to Mauro Doglio [:mdoglio] from comment #1)
> I think we could even get rid of runtests.sh itself, using python setup.py
> test instead.

Yeah agreed - I'd happily remove it and just add some more instructions to the RTD pages, for those not used to py.test.
Priority: -- → P3
Blocks: 1072681
No longer blocks: 1072681
Component: Treeherder → Treeherder: Docs & Development
See Also: → 1133268
Priority: P3 → P4
Assignee: nobody → emorley
Assignee: emorley → nobody
Assignee: nobody → emorley
Status: NEW → ASSIGNED
Attachment #8673697 - Flags: review?(wlachance)
Comment on attachment 8673697 [details] [review]
Don't enable pytest coverage checker in runtests.sh

Thanks!
Attachment #8673697 - Flags: review?(wlachance) → review+
Commit pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/5d3bce9802347929d0263e91d54f2c0130b01e5e
Bug 1058531 - Don't enable pytest coverage checker in runtests.sh

It shouldn't be enabled by default IMO. For better overall visibility,
we should be using something like coveralls or codeclimate.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Component: Treeherder: Docs & Development → TreeHerder
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: