Basic question I'm sure, new to python, PyDev, and code coverage tools.
I've got a project set up in PyDev, consisting only of the 2 files from Dive Into Python's roman stage 9, roman9.py and romantest9.py. I right click on romantest9, choose Python: Coverage, enter -v (for verbose output) in the Modify Attributes and Launch dialog, and click Profile.
The console shows the expected output, which is the results of each test and the cumulative time taken to run them.
I then switch to Code Coverage Results View, and point it at roman directory. It tells me it refreshed the results, but clicking on either file shows the msg 'File has no statistics.'
What am I missing? This is python 233, Eclipse 301, PyDev 080, win2k.
hummm, I don't know, it works here, doing the same thing you did. Do you have anything in your error log?
(window->show view->error log)
I've had this problem with imported files only (as opposed to files that were created within eclipse)… copying the contents of the file into a new file seemed to make it work for me…
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.