Testing Filesystem related Code with vfsStream (June 30 2016, PHPUGMRN)
All the unit tests you write are decoupled from services and the database. What about unit tests for classes which touch the file system - are they decoupled from it? The talk introduces vfsStream and shows how unit tests can be made independent from the actual file system. I will also show how to simulate a full disc, missing read or write rights, mocking large files, and limitations imposed by PHP.
Frank Kleine
June 30, 2016
Annual Pro sale · Save $30
Have presentations of your own?
Share with private links, password protection, and more control over your work.