Ηλίας
Ηλίας

Reputation: 2640

Set up coverage configuration on pydev

I reinstalled Eclipse with pydev (2.0.0.2011040403) but the run configuration with "coverage" is missing from the debug and run menus. I am sure that option used to be there, how can I get it show up again?

Upvotes: 2

Views: 3041

Answers (1)

Fabio Zadrozny
Fabio Zadrozny

Reputation: 25332

This changed on PyDev 2.0, now, instead of a run as coverage, you have to open the code-coverage view (under the window > views menu) and select the 'enable code coverage for new launches' options -- after that, any launch (regular or unit-test) will be automatically traced by the code-coverage.

There's a small video with this feature (and some other things) at: http://pydev.org/video_pydev_20.html

Upvotes: 5

Related Questions