This month we have a talk on vfsStream - Effective Filesystem Mocking by Sebastian Marek. Unit testing might be quite challenging, especially if it comes with interaction with external services. Although it might seem dealing with a local filesystem is not a problem as you usually have full control over it, after some time you might find yourself spamming your disk with all temporary files used during unit testing. During this talk I will tell you how to effectively use vfsStream with PHPUnit to avoid that. Come and see how can you refactor your code to make it filesystem independent and easily testable.
PHPNW (PHP North West) is a group focussing on the PHP web development language in the North-of-England.
Where: Revolution, Arch 7, Deansgate Lock, Whitworth Street, Manchester,
M1 5LH [1] (Normally in the lounge at the back on the entrance level)
When: 7pm Tuesday 7th September 2010
What: vfsStream - Effective Filesystem Mocking - Sebastian Marek
Come along, grab a drink and join in :)
We have our meetings at Revolution on the first Tuesday of each month. The venue has free WiFi and serves food 'til 9pm.
[1] http://maps.google.co.uk/maps?f=q&hl=en&geocode=&q=Arch+7+Deansgate+Lock+Whitworth+Street+Manchester+,+M1+5LH&ie=UTF8&z=1
Official Website: http://www.phpnw.org.uk
Added by Rick Ogden on August 27, 2010