Giter Club home page Giter Club logo

Comments (12)

oker1 avatar oker1 commented on August 14, 2024

Are you running your tests in phpstorm or in a separate shell?

from phpunit_codecoverage_display.

maxromanovsky avatar maxromanovsky commented on August 14, 2024

I run my tests in separate shell

from phpunit_codecoverage_display.

codecleaner avatar codecleaner commented on August 14, 2024

When will be released a new version with this feature included? I'm very interested in it.

from phpunit_codecoverage_display.

oker1 avatar oker1 commented on August 14, 2024

I can only work on this in my free time, so I can't promise anything. Maybe in a month it will be out.

from phpunit_codecoverage_display.

codecleaner avatar codecleaner commented on August 14, 2024

Ok, thanks for really fast answer. I will wait for next version than :)

from phpunit_codecoverage_display.

oker1 avatar oker1 commented on August 14, 2024

The feauture is coming along nicely, I think I'll release it this weekend.

from phpunit_codecoverage_display.

oker1 avatar oker1 commented on August 14, 2024

Released in version 0.2.0, pls update.

You can set the mapping in settings. Path separator replacement was not needed, phpstorm uses / on windows too.

from phpunit_codecoverage_display.

codecleaner avatar codecleaner commented on August 14, 2024

Looks fine for me, good job! Thanks!

from phpunit_codecoverage_display.

oker1 avatar oker1 commented on August 14, 2024

Great, thanks for reporting back!

from phpunit_codecoverage_display.

epoplive avatar epoplive commented on August 14, 2024

This isn't working for me, perhaps it's my setup. I have a folder, lets call it 'repos'. I have a bunch of repos checked out in it, with one of them being my phpstorm project. The project has the other repos in the folder with it added as modules because this project has integration tests for the other repos. I generate the report, I see the coverage.xml file, however PHPStorm shows 0% coverage for everything and I don't see anything in my editor. If I edit the file and fix the paths, everything seems to work correctly. :/

In the settings my local path is /Users/myuser/repos and the remote path is /.repos but again, the translation doesn't seem to happen.

from phpunit_codecoverage_display.

epoplive avatar epoplive commented on August 14, 2024

I'm looking at the source code for this, and what's inside my generated coverage.xml file. None of my nodes have an attribute named path, they all have an absolute file path in the file attribute. I'm unfamiliar with IDEA plugins, so perhaps I just missed something?

from phpunit_codecoverage_display.

oker1 avatar oker1 commented on August 14, 2024

I think only absolute paths work, so use those in both fields.

from phpunit_codecoverage_display.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.