Closed DennisBecker closed 11 months ago
MutaTesting use its own StreamWrapper for file
. I think there is a conflict. I'll see the StreamWrapper used by bovigo...
@DennisBecker : Hey.. Did you get any solution for this ?
You forgot to register wrapper vfsStreamWrapper::register();
I use vfsStreamWrapper in some test cases to mock the filesystem in unit tests. The tests initialize vfsStreamWrapper properly and all tests run fine in PHPUnit. You can find it at https://github.com/mikey179/vfsStream
When I run MutaTesting on these tests, I get the following error:
I have created a simple example which runs fine but when I run the whole test suite of my project it is unable to run the tests properly.
This is the small working example:
Any idea what happens that it doesn't work? And why does it try to open vfs://views/test.phtml which gets created in the test class?