KYOSS
The Kentucky Open Source Society




Main Calendar         October Calendar

Event:

October KyOSS: Test-driven development

Short title for calendar grid: KyOSS TDD
Date: Wednesday, Oct 9, 2013
Time: 6:30 pm - 12:00 am
Location: LVL1 Hackerspace, 814 East Broadway (rear), Louisville KY 40204

Charles Griffin and Alan Blount will be telling us about test-driven development (TDD).

On 10/08/2013 08:40 PM, alan blount wrote:
> Yup - assuming I can make it (I'll try really hard to do so), I'll be demoing:
>
> 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
>
> Future topics:
>
> General: Object Mocking
> Cake specific: Model / Controller / View / Helper mocking
> Smoketest / Use Case Testing (in a headless browser, with JS, with screenshots)
> MeteorJS Unit Testing
>
> Thanks,
> -alan
>
>
> On Tue, Oct 8, 2013 at 5:17 PM, Charles Griffin <cegrif01@gmail.com> wrote:
>
> 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.
> Charles
>
>
> On Tue, Oct 8, 2013 at 4:55 PM, John Hicks <johnhicks@gulfbridge.net> wrote:
>
> Sounds like there's interest and willing presenters, so let's talk about TDD!
>
> That's tomorrow night (Wednesday, October 9) at 6:30 at LVL1, 814 East Broadway, rear entrance, park in the lot to the rear of the rear entrance.
>
> To put yourself in the mood, your homework is to do at least the first problem at "You can't program Javascript under pressure" and to notice how it verifies the correctness, or lack thereof, of your answer, running through a series of tests.
>
> (I know both Charles and Alan are PHP developers like I am. I'm curious to see how TDD is done in PHP, where there are often side effects to functions beyond what's returned from the function call.)
>
> We'll have time to talk about other things too. Any other subjects you all want to talk about?
>
> John
>
>


Event posted by frappyjohn, 3:29 am Sep 30, 2013
Send private message to frappyjohn
Last edited by frappyjohn, 9:51 pm Oct 8, 2013
1886 Public G: 0


Edit history for this event:
RecNoVerTypeDate/TimeBy
1895 1 Previous 2013-09-30 03:29:29 frappyjohn
1886 2 Current 2013-10-08 21:51:58 frappyjohn