Devlico.Us
CodeBetter.Com

Browse by Tags

  • Unit Tests to the rescue

    Today started off in a bad, bad way. Because of some issues I had earlier in the week with my source control repository (SCR) I was doing a ton of work offline. Today I was able to regain access to my SCR I decided to do a full get. I was fully expecting SourceOffSite (crappy overlay tool on top of VSS...
    Posted to Derik Whittaker (Weblog) by Derik Whittaker on 10-02-2008
  • Thoughts on Testing an API

    Over the past few weeks I have worked on a few products for my client that will be used as API's.  These API's will be used by either their own (external) clients or other internal departments.  Working on these projects made me think about testing in a little different light compared...
    Posted to Derik Whittaker (Weblog) by Derik Whittaker on 04-14-2008
  • App.Config issues when running NUnit via Resharper

    ***** Update ***** This issue is directly related to a #R 4 EAP issue. I was using build 755 and this was an issue. As of build 762, this is no longer an issue. ******************** Today I encountered some odd behavior when trying to run some tests against my configuration object. I am hoping that someone...
    Posted to Derik Whittaker (Weblog) by Derik Whittaker on 03-25-2008
  • Sometimes I just feel dirty doing this job.....

    Many times during our development duties we have to read through code segments to figure out the desired intent of a feature.  Today I was doing just this.  There is a new feature that I need to implement and to do so, I needed to walk through a bunch of code to determine where my changes may...
    Posted to Derik Whittaker (Weblog) by Derik Whittaker on 01-08-2008
  • Backing in Unit Tests into an existing project

    Recently I was asked about backing in unit tests into an existing project. In particular I was asked A) was possible and B) is it worth it. In short my answers to both these are Yes and Yes. However, backing in unit tests is not without its challenges. I thought today I would go express my experiences...
    Posted to Derik Whittaker (Weblog) by Derik Whittaker on 10-09-2007
  • Why I believe IN and WRITE unit tests

    In my last post I think I struck a cord with some people in my post 'Unit tests taking too much time'. My intent was NOT to sound like an elitist Agilist or any else of that nature. My intent was simply to put a post out there about the misperception (in my opinion) about how writing unit tests...
    Posted to Derik Whittaker (Weblog) by Derik Whittaker on 10-01-2007
  • Using RhinoMocks with StructureMap to mock expected calls

    What do you do when you are writing a test for a piece of code that calls out to an ‘out of your control’ service such as a web service or email server? If you are like most of us, you simply allow your test to make the call and ‘hope’ that the service is up. However, this is really bad. Having your...
    Posted to Derik Whittaker (Weblog) by Derik Whittaker on 07-24-2007
  • StructureMap Tip: Using Concrete classes as a PluginFamily

    Have ever wanted to use a concrete class as both the the PluginFamily and Plugable (information on StructureMap's attributes here ) type in StructureMap ? I know I have, just today in fact (not the first time, but thought I would post about it this time) I needed to do just this. Why would I want to...
    Posted to Derik Whittaker (Weblog) by Derik Whittaker on 07-23-2007
  • What I'm Learning

    This post is in response to Sam Gentile's post over at code better I'm Learning Rhino Mocks NHibernate StructureMap Policy Injection Blocks Log4Ne t (yea I know, what took so long. Answer, last few apps use the Logging App Block) MonoRail (about to start playing with that) Castle Windsor if I find time...
    Posted to Derik Whittaker (Weblog) by Derik Whittaker on 06-08-2007
  • Learning to use Mocks and the power they provide

    Up until a few months ago I had never even attempted to use mocks ( NMock , RhinoMock , etc). Every time I would read about Mocking I thought to myself, this is kinda cool, but seems to be a waste of energy. At the time I saw Mocks as only a way to create ‘placeholders’ for business/data classes. I did...
    Posted to Derik Whittaker (Weblog) by Derik Whittaker on 05-23-2007
Page 1 of 2 (14 items) 1 2 Next >

Our Sponsors

Red-Gate!