Comments (3)
I have removed the section on vfsStream.
from phpunit-documentation-english.
Also looks like it should be vfsStream
.
from phpunit-documentation-english.
This works:
use org\bovigo\vfs\vfsStream;
use org\bovigo\vfs\vfsStreamWrapper;
...
vfsStreamWrapper::register();
$this->root = vfsStream::setup('home');
vfsStream::newFile('test')->at($this->root)->setContent("1 2 3 4 5 6");
...
from phpunit-documentation-english.
Related Issues (20)
- Document how PHPUnit's test runner handles `E_*` errors triggered for test code and tested code
- [Feedback wanted] Contribution ideas HOT 1
- `#[IgnoreDeprecations]` attribute
- Doubling methods that have a `never` return type declaration
- Assertions for comparing arrays while ignoring a specified list of keys
- Document `expectUserDeprecationMessage()` and `expectUserDeprecationMessageMatches()` to expect `E_USER_DEPRECATED` issues
- `#[DisableReturnValueGenerationForTestDoubles]` attribute
- The `#[CoversFunction]` and `#[UsesFunction]` attributes do not only support global functions, they also work with namespaced functions
- `#[CoversMethod]` and `#[UsesMethod]` attributes
- `baseline` XML configuration attribute missing
- Document how test size affects whether a test that executes code that is not listed as code to be covered or used is considered risky
- Document that (abstract) parent class(es) are implicitly included with `#[CoversClass]` and `#[UsesClass]` attributes starting with PHPUnit 11.1
- Distinguish between self, direct and indirect deprecations
- Support for doubling `readonly` classes
- Documentation about code coverage ignore
- `#[CoversTrait]` and `#[UsesTrait]` attributes
- How to use @depends with new attributes style within multiple classes. HOT 1
- CLI Colors Documentation Flag Format
- Cross-reference CLI and XML configuration settings
- Document `shortenArraysForExportThreshold` configuration attribute
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 phpunit-documentation-english.