VB User Group Talks Summary

time to read 1 min | 143 words

Yesterday I gave two talks to the VB User Group, about TDD and Rhino Mocks. I had a lot of fun, and got to embarrass myself in public, trying to code in VB. (When I need to ask the crowd for the array literal syntax, in the middle of the lecture,that is trouble...)

There were a lot of interesting questions, and I got to see how mocking tests would look like in VB.Net. A lot of the methods names in Rhino Mocks are reserved words in VB.Net, which surprised me, because I got VB.Net code from people using Rhino Mocks, and I never noticed that...

Apparently you get code like this:

smsSender.SendSms(Nothing, Nothing)
LastCall.[Throw](new Exception()).Constraints([Is].Equals("oren"), [Is].Anything())

Code & Presentations (in PDF format) can be found here.