Comments (9)
Any chance of a reproducible example?
I'd need to look into it, and I can't think of a reason why Humbug would be interfering, but that doesn't mean something isn't going on. The only items Humbug should be manipulating are the source code (never the test code), and it does use an edited copy of your phpunit.xml to run test classes in a fastest-first order.
Could you try running tests using the --tap option using phpunit - just to make sure it still reports those failures (by implanting the mutations) correctly? The TAP does need testing for more scenarios so it's one possible cause.
Also noting to self that I do need to dump junit, and there be naming shenanigans at work when iterating data providers into the result log.
from humbug.
The --tap option shows failures properly, I'll try and construct a test case at the weekend.
from humbug.
Thanks @carnage, would appreciate that :).
from humbug.
I got the same kind of result with tests using a data provider. Simply moving the data to an array inside the test case and looping on this data removed the false positives.
from humbug.
It is the data providers. The problem is that one of the older bits of pre-Humbug nameless library was the reliance on Junit which is fairly complex for our needs. There's a bug in there around the testsuite nesting. I'd fix it, but honestly I'd prefer to spend the time moving onwards to our own time logging solution which is JSON, simpler, and provides the option of finer grained test aggregation (at present, Humbug is limited to test CLASS aggregation due to PHPUnit limitations which means we run a lot of pointless tests - shall be optional since test insulation is not guaranteed, but a welcome perf boost for those who can swing it).
from humbug.
@carnage @marcaube Guys, give the new master a trial run - do a composer update first. Hopefully this resolves any data provider issues.
from humbug.
@padraic It works fine for me now. Thanks!
from humbug.
@padraic Fixed it for me as well.
from humbug.
Excellent! :P
from humbug.
Related Issues (20)
- Make Humbug tests up and running HOT 3
- Communication channels HOT 8
- Path to PHPUnit not properly escaped HOT 2
- PHPUnit Mock and Prophecy objects shoudn't be mutated HOT 5
- [DISCUSS] Roadmap for Humbug 2.0 HOT 7
- Add behat scenario where there are no tests to run against mutations. HOT 1
- Resolve Appveyor failed builds for PHP 7.0
- PHPUnit Test Listeners are technically read-only (not enforced). We need another means of manipulating suite execution order and suite filtering. HOT 2
- PHAR build error - solution to be documented
- [DISCUSS] Dependency interference/Initial run failures HOT 2
- Make phpdbg a first class citizen HOT 1
- Document whether Humbug runs processes in parallel
- Stripping PHPUnit configuration of elements HOT 3
- Document preferred non-PHAR, non-global installation as using composer-bin to isolate dependencies
- Humbug fails with PHPUnit stderr setting
- Is there a way to configure which PHPUnit test suite to run? HOT 2
- Incompatibility with php-vcr (or other libraries using stream_wrapper_register) HOT 2
- You need to install and enable xdebug in order to.. even with xdebug installed HOT 2
- TImeouts - how to prevent them
- Humbug reports uncovered mutants on a 100% covered codebase HOT 2
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 humbug.