Testing a Longest-Common Prefix Implementation Using Model-Based Testing

Wednesday, May 15, 2013

In  my last post I discussed how to implement a Longest-Common Prefix (LCP) algorithm in both an imperative and functional manner in C#.  I also mentioned the fact that for the imperative implementation I needed some to write some unit tests.  Here is the test code: public class LCPTests { public void Get_WithNoValues_ShouldReturnEmptyString() { string result = LCP.Get(new string {}); Assert.AreEqual(0, result.Length); } ...

SDP 13 Talks

Wednesday, May 8, 2013

This week we’re running the Sela Developer Practice conference and this year it’s bigger and better than ever, with speakers coming from outside of Israel to deliver talks.  I was fortunate enough to see the 10 Reasons Software Sucks talk by Caleb Jenkins and had a chance to grab a beer and some good food with him later for some one-on-one chat.  Seriously people, if you get a chance – go watch this guy speak.  He  ROCKS!  I gave two sessions at this SDP: 1.  Model-Based Testing with Spec Explorer 2010 – I discussed what Model-Based...
no comments