Pregunta

I can't get Coverage to work with PyDev. Every file I run shows up with: "File has no statistics."

I'm following the instructions by checking 'Enable code coverage for new launches', and dragging the folder to analyze over to the Code Coverage window.

I've successfully installed coverage. After that, I refreshed my Python Interpreter settings, where the coverage folder shows up automatically.

I've also tried to add the coverage folder to my project's External Libraries. Didn't work either...

Thanks in advance for any tips that might guide me in the right direction.

  • Coverage version 3.5.2 (also tried the recommended 3.4 to no avail)
  • PyDev version: 2.6.0
  • Eclipse version: 3.7.2
¿Fue útil?

Solución

This may be due to your file path containing spaces. See bug report here.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top