The Fullerton Code Camp was a big success, as far as I could tell. I attended at least 4 or 5 presentations (besides the ones that I as presenting myself) and was impressed with the quality of both the speakers and the content. Unfortunately I could only attend a few of the dozen or so I wanted to see. Here are a few short reviews of sessions I was able to see: Continue reading ‘SoCal Code Camp – Excellent Weekend’ »
Archive for January 2008
NMock2 Presentation at Code Camp
In addition to the other presentations I posted earlier (Speaking at SoCal Rock & Roll Code Camp) , I’ve added one more session for Code Camp. Jason Kerney and I are pairing up to do a session on using dynamic mock objects with the NMock2 framework, which is something we’ve recently been using quite a bit. The talk is titled “A Little Taste of NMock2 For That Smooth Unit-Testing Flavor”.
Mock Objects are a great tool for testing the behavior of your system in a very focused manner. This presentation covers the NMock2 open source dynamic mock object library and shows how you can easily put it to work for you. Continue reading ‘NMock2 Presentation at Code Camp’ »
A co-worker (Jason Kerney) and I have been messing around with NMock2 in C# for a while now, and we’ve put together an introductory presentation on the basics of using NMock2 that we are going to give at the upcoming Code Camp at Cal State Fullerton. [January 25th & 26th, 2008 - Code Camp is a free conference put on by developers for developers].
This article is not our presentation, but rather a little introduction about using NMock2 for doing exploratations into existing code.
You are probably familiar with using assertions in NUnit tests. Assertions reveal in what way the object and/or some other collaborating object has changed during an operation by cheking state, and are also used to verify the result returned from an operation. Mock objects, on the other hand, provide a way to test the behaviors of code. That is, mock objects test what the object is or isn’t doing. Mock objects are often used together with assertions to better pin down the code under test. Continue reading ‘NMock2 as a code exploration tool’ »