Skip to content

{ Monthly Archives } July 2009

Object Mothers as Fakes

This is a follow to Fakes Arent Object Mothers Or Test Builders. Over the last few weeks I have had the chance to reengage with MO and fakes. I am going to document a helper or two with building fakes using extensions. But before that I want to make an observation or two: I have [...]

Tagged , , , , , , , , , , , , , , , ,

Regex in Find-and-replace in Visual Studio for left-angle brackets

My problem is simple. Sandcastle requires encoded html to parse correctly. Having generics in the documentation causes it to break. I need to replace the ‘<’ with &lt;. I just now need to do this by the solution in Visual Studio. Of course, microsoft requires me to know another regex set of expresssions: http://msdn.microsoft.com/en-us/library/2k3te2cs(VS.80).aspx Here’s [...]

Tagged ,

Creating a tftp server on OS X so that I can update my cisco router

Creating a tftp server on Mac OS X so that I can update my cisco router Setting up Option One: point to new directory A config file, tftp.plist for tftpd(8) is in /System/Library/LaunchDaemons/ directory. This is an XML file. If you need to change tftpd(8) root directory to something other than /private/tftpboot, edit tftp.plist file [...]

Tagged ,

Creating a restful-resources application in rails

I am creating a rails application and I haven’t used rails in 2 years and, of course, version 2.2.2. So I thought that I had better record my major steps. I also needed to learn how to use rspec with rails (rather than the unit tests). Update all the gems gem update Install the plugins [...]

Tagged , ,

Manual Regressions: an oxymoron?

I was at a testing talk the other night. It turned to automated testing which got me asking the question. Are manual regressions an oxymoron? I was thinking that no it isn’t if regression is simply the idea of re-testing. I would have thought that re-testing the application for fit-for-purpose is one type of regression, [...]

Tagged

Configuration DSL – Part III: Writing a Fluent Interface for Configuration in C#

This is the third entry on creating configuration DSLs in C#. The previous entry looked at the implementation. The basis of this code is to solve the problem that there are multiple configurations an application may require: development, test and moving through environments up to production. This solution makes the distinction that there are profiles [...]

Tagged , , , , , ,

Using Asp.Net MVC – basic resources

I’ve just started working with a team on asp.net mvc. I’m now starting to create a list of resources that I am finding useful. You’ll notice that I have been reading around Steve Sanderson’s work because our team is tending to focus around his solutions. General books Steve Sanderson. Pro Asp.Net MVC. Nerd Dinner – [...]

Tagged