Archives

Archives / 2003 / May
  • AttachDBFileName

    I never knew you could do the following with SQL Server connection strings!  This should make unit testing DB code a whole lot easier...

  • Java, junit and J#

    I've been doing some work on an ongoing Java project recently.  Although JBuilder has some neat unit testing facilities built in, I was missing the ability to run a test without leaving the method.  Since the code I was working on was business logic rather than GUI code I was able to quickly port it to J#.  Luckily the Java collections classes are supported as well as the Java 1.1 API (this makes all the difference).  I'm now happily unit testing my Java project from inside VS.NET 2003.  Of cause it all still compiles with Java 1.3 as this is the target platform!  I have used the odd .jsl file to mirror or stub out Java code that doesn't work or won't compile.  The most annoying thing is that even though Java and .NET resources work in almost exactly the same way, Class.getResourceAsStream(...) isn't supported!  It takes only a few lines of code to find a .NET resource using a java.lang.Class object.  I'm baffled as to why this isn't supported.

  • Fun with Mono, Rotor and DTE

    I've just posted a new build of NUnitAddin.  You should find running individual tests with the debugger much faster.  It now only builds the current project (rather than the whole solution as it did before).

  • WordML + WebDAV

    Don has just got a WordML to XHTML transform working.  This means I could create a WebDAV front end to my blog and edit entries directly in Word!  Just having the Word spell checking facility makes this worth doing for me.  Is there any chance you send me that XSLT?  ;)