Git Product home page Git Product logo

Comments (11)

jails avatar jails commented on May 19, 2024

Weird, it's working for me on a clean install.

from kahlan.

m1ome avatar m1ome commented on May 19, 2024

I am reproducing it with a clean install. Any suggestions how to trace this.

from kahlan.

jails avatar jails commented on May 19, 2024

Also tried to running it with HHVM and it works. Try to clean up caches rm -rf /tmp/kahlan and run it again.
What php version are you using ?
Does bin/kahlan --config="kahlan-config.travis.php" --coverage="kahlan\plugin" spit out the kahlan\plugin\Call.php file ?

from kahlan.

m1ome avatar m1ome commented on May 19, 2024
PHP 5.5.20-1+deb.sury.org~precise+1 (cli) (built: Dec 21 2014 19:54:33) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
    with Xdebug v2.2.5, Copyright (c) 2002-2014, by Derick Rethans

from kahlan.

m1ome avatar m1ome commented on May 19, 2024

Removed cache and still the same.

from kahlan.

m1ome avatar m1ome commented on May 19, 2024

Yes bin/kahlan --config="kahlan-config.travis.php" --coverage="kahlan\plugin" echo a coverage on plugin\Call.php

from kahlan.

jails avatar jails commented on May 19, 2024

Are you running it inside a vagrant box or something ?

from kahlan.

jails avatar jails commented on May 19, 2024

The displayed error is this one: https://github.com/crysalead/kahlan/blob/master/src/reporter/Coverage.php#L266

you should be able to do a:

print_r(array_keys($this->metrics()->get("kahlan\plugin")));

And you should see all classes inside plugin.
but if 'plugin\Call.php' has been spitted out, there's no reason:

print_r(array_keys($this->metrics()->get("kahlan\plugin\Call")));

can't display the correct information.

from kahlan.

m1ome avatar m1ome commented on May 19, 2024

Yes, i am running inside a vagrant.

from kahlan.

jails avatar jails commented on May 19, 2024

Still not able to reproduce on travis (https://travis-ci.org/crysalead/kahlan/builds/49312153). Feel free to reopen if you find the root cause.

from kahlan.

m1ome avatar m1ome commented on May 19, 2024

Find a bug. Fix it on crysalead/jit#1

from kahlan.

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.