Charles Griffin and Alan Blount will be telling us about test-driven development (TDD).
• CakePHP testing framework (wrapper/framework for phpunit as of cake2.0)
• Introduction to unit testing in CakePHP
• Quick Introduction to TDD (writing your tests first)
• Overview of TravisCI and demonstration and review of our config file
• Code Coverage
• Plugin testing
• Test grouping
From Charles: I'm debating on whether to show the group testing in Laravel or just plain ol' php from scratch. Alan, if you're going to whip out CakePHP, I'd be super excited to show testing in Laravel so that everyone (including myself) can see the differences. I'm currently working on a financial application in Laravel that is full of unit tests so I naturally would rather show Laravel, but the testing process is exactly the same whether you start with or without a framework.
I can also hit a little on the subject of mocking and dependency injection, but I will probably just talk about the concepts and what they mean and save those topics for a series of testing discussions.
The one thing I would like for the group to get out of the TDD discussions is that it really doesn't matter if it's php, java, or even something a little less common like lua. Testing is testing. If you're a developer in a different language, don't get discouraged by the fact that there may not be a good testing framework (like phpunit). It's actually quite easy to spin your own basic methods for testing.
Come and join us! We usually have between 15 and 20 Linux users, admins, and programmers show up. Good conversation and networking and, often, a great presentation or two.
We meet on the second Wednesday of each month at LVL1, Louisville's Hackerspace, in the rear of 814 East Broadway (south side of Broadway, between Logan and Shelby streets). You can park in the ORI parking lot behind the building on Shelby Street. Keep up on the latest by subscribing to our KYOSS discussion list. Just send an email to [masked]. Register and log in to our web site at www.kyoss.org. Keep up on the very latest on our IRC channel: freenode/#kyoss Google StreetView map for LVL1