I’ve been using a Cucumber-inspired BDD framework for .NET called BehaveN at work for the past year. Today, I just released the next major version. There’s a little documentation on the wiki, including a tutorial, but there’s a lot left that I haven’t documented yet. I’ll be getting more and more documentation up as time [...]
I recently went looking for an autotest equivalent for Python. This question on StackOverflow pointed me to autonose. It wasn’t that easy to install using easy_install since one of its dependencies (snakefood) failed to install so I had to do that manually. Unfortunately, autonose has a few issues, especially when running on Windows. Since it [...]
When editing an XML file in Vim, I wanted to delete the content of an element so that I could replace it with some completely new text. I thought I could use ct< to change up until the next < character but that didn’t work because the end tag was on a subsequent line. I [...]
Tuesday, February 23rd, 2010
Is this too obscure? public class MyObject { private MyExpensiveObject _myExpensiveObject; public MyExpensiveObject ExpensiveObject { get { return _myExpensiveObject ?? (_myExpensiveObject = new MyExpensiveObject()); } } }
Monday, February 15th, 2010
I just pushed a pet project of mine up to GitHub today. It’s a port of the original game of Rogue from C to C#. It’s not complete–it doesn’t save your progress and let you continue on later, but it is playable. Now that the actual port is done, I plan on cleaning up the [...]
Wednesday, January 13th, 2010
IE 7 and up are hard-coded to bypass the proxy when the host is “localhost”. When Fiddler is running, you can change localhost to “ipv4.fiddler” to trick your browser into talking to the Fiddler proxy as documented here. Since manually changing the host every time I want to test an ASP.NET or Silverlight application is [...]
Monday, September 28th, 2009
I took some time tonight to throw together a build script for producing proper releases of AutoRunner. If you don’t feel like compiling it yourself, you can get a pre-compiled version here. I used ILMerge to merge the Growl for Windows assemblies into the executable so it’s basically a single file now. By the way, [...]
Sunday, September 27th, 2009
I recently came across this awesome code kata performance by Corey Haines here. Besides enjoying and learning from his actual performance, I was really impressed by his use of a Ruby tool called autotest. (I’m not sure, but it looks like it has become autospec.) Not being a Ruby developer, I wanted the same thing [...]
Saturday, September 26th, 2009
I’ve been using Fabio Maulo‘s NUnitEx project to get fluent assertions on a personal project recently and have been loving it. He then went and moved on to a new project called SharpTestsEx, which he intended to be framework-agnostic, but currently only worked with MSTest which prevented me from being able to use it (since [...]
Wednesday, September 9th, 2009
Chris Kapilla reminded me in a comment that the World Wide Web is made of links. When I lost all the content in my weblog, I left a bunch of dangling links out there (like those in this Verify JavaScript with JSLint during build using Nant post). So I went and found an old copy [...]