Giter VIP home page Giter VIP logo

Comments (3)

sebastianbergmann avatar sebastianbergmann commented on June 29, 2024

Without a reproducing example, there is nothing I can do.

from phpunit.

yannooo avatar yannooo commented on June 29, 2024

I've managed to create a minimal test case reproducing this issue. I've put the test case in this gist https://gist.github.com/609633

The bug occurs when a TestCase is run multiple times within a test suite. This might feel weird but we use this to run the test with multiple configuration such as db, db+memcached, db+memcached+sphinx. Both html and clover reports are affected by this bug.
As soon as a test gets run multiple times, the coverage reports only account for covered code and treat the remaining part as comment. As a result everything appears as 100% covered.
This was not happening with phpunit 3.4

Do not hesitate if you need more info.

from phpunit.

sebastianbergmann avatar sebastianbergmann commented on June 29, 2024

Please open a new ticket under the PHP_CodeCoverage project in case the problem still persists.

from phpunit.

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.