06 Mar

Meetup Talk on Unit Testing: The Why and The How

Another talk at PHP Vegas Meetup, this one covered unit testing. I tried to split about 50% on why to do unit testing and the other 50% on some pretty basic unit tests. This was a tough talk to try hitting an hour on. I know it’s a good topic for me to talk on because I have a lot I feel like I could talk about it. At the same time that also means it’s hard trying to say just the right things.

Overall I thought this talk was very well received with a few people specifically saying that they thought I did a good job and they got valuable information out of it. The worst part was I had made some minor changes from the version I had uploaded to Speakerdeck, but accidentally deleted the file. So I had to use the older version and it threw me off in a few places. However, it’s a useful reminder to have multiple copies of a presentation for when one needs it.

07 Jun

Presentation on Unit Testing Inertia

I gave a talk on Tuesday at the Las Vegas PHP Meetup Group titled Unit Testing Inertia.

The basis of the talk was getting over the inertia in writing tests in either a pre-existing application or just getting started writing unit tests in general. It went over very well with a good question and answer session afterwards. While I didn’t spend as much time prepping for this talk, I was comfortable enough with the material (and helped there was no code involved) that it was a solid presentation.

The short summary of the talk is for every new method/bug-fix/feature written, write a test for something else at the same time, and start with the stuff that is easier to test.

I’ve been going through a few different pieces of software for writing and displaying my presentations and this is the first time I’ve been really happy with the tool-chain. I used Deckset, which is a Markdown based presentation system with some great looking styles.

Humorous aside, my spelling is atrocious and even though I had to type out “inertia” dozens of times I misspelled it every time and even just now writing this up, I misspelled it every time.

11 Dec

Mark Story – Getting PHPUnit setup from Git

This of course meant I’d need to get PHPUnit setup using Git. I figured this would be easier, since PHPUnit has recently moved to github. I think there are only a few ways it could be harder. I’m sure Sebastian had the best of intentions when he split up PHPUnit into several repositories. However, it has made working with PHPUnit from Git mildly painful. Since PHPUnit doesn’t use submodules at all, you are left to your own devices to solve its various dependencies. I wanted to work off the master branch, as thats where the next version of PHPUnit looks like it will come from.

via Mark Story – Getting PHPUnit setup from Git. In case you ever want to work on PHPUnit through Git.