Comments (11)
Weird, it's working for me on a clean install.
from kahlan.
I am reproducing it with a clean install. Any suggestions how to trace this.
from kahlan.
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.
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.
Removed cache and still the same.
from kahlan.
Yes bin/kahlan --config="kahlan-config.travis.php" --coverage="kahlan\plugin"
echo a coverage on plugin\Call.php
from kahlan.
Are you running it inside a vagrant box or something ?
from kahlan.
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.
Yes, i am running inside a vagrant.
from kahlan.
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.
Find a bug. Fix it on crysalead/jit#1
from kahlan.
Related Issues (20)
- Throw exception test failed with Pipeline CI/CD HOT 2
- How to mock ZipArchive behavior HOT 4
- Expect to throw a `TypeError` got failed, `actual: TypeError, expected: TypeError` HOT 4
- Error with PHP 8 HOT 1
- Unable to run the tests when `XDEBUG_MODE` have multiple values HOT 1
- Feature Request: Support focusing a specific test or suite with command line arguments
- php 8.1 support HOT 2
- PHP Fatal error: Type of Kahlan\PhpErrorException::$file must be string (as in class Exception) in... HOT 3
- toBeCalled within Class Static Methods HOT 1
- Breakpoint; debugging tests HOT 4
- Missing default value 0 for int properties with PHP8 attributes in single line HOT 1
- Unable to stub without overriding function HOT 5
- Process exit with code 1 in github action HOT 2
- stub / Modify constante HOT 1
- PHP 8.2: dynamic properties HOT 3
- PHP 8.2 Function utf8_decode() is deprecated HOT 1
- Support for never return type (PHP 8.1+) HOT 5
- Cannot exclude autoloaded files from monkey patching
- Multiple _T_ATTRIBUTE tokens in single line HOT 1
- Bug: toHaveLength() does not work with accented letters and multi-byte strings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kahlan.