Share via


Enterprise Library's Unit Tests

Peter asked an interesting question that I am would love to know the answer from you.  What do you guys think about the unit tests in the code?  Did you know they were there?  Are you writing extensions or changing the code and using them to verify everything still works as expected?  Drop Peter or myself a comment so we can get what you guys want out in V2.

I also want to thank everyone out there.  We hit 45,000 downloads on the 1rst of March .  Keep it going, I will post when we hit 100,000.  I can’t wait to raise my virtual glass to all of you .

PS
Come join Ron Jacobs today for our web cast on Configuration.

Now playing: Beck - Devils Haircut

Comments

  • Anonymous
    March 04, 2005
    Unit Tests are very usefull! I used them a lot when I made modifications to the Data Block to make sure it works. I have no problems with keeping test code in the same project and with using of conditional compilation constants. Also, it would be nice to have performance / load test code as well.
  • Anonymous
    March 04, 2005
    I've been taking the Mock classes from the unit tests and using them in my own tests of higher level projects so I don't have to write my own Mock providers for authz, configuration, etc.
  • Anonymous
    March 04, 2005
    I'm new to unit testing. very new. about 12 hours to be accurate and I must say I'm finding the EntLib ones a little overwhelming. Am sure this will get easier as I study the code but its difficult to know where to start.

    I've written a facade class to help with asp.net security but I don't know how to go about testing it. Do I need to create mock objects for each of the contained security providers? do I need to add my config files to my test directory for the tests to work? Is there a EntLib document outlining the unit testing strategy or a how-to somewhere I haven't noticed.

    lol. So many newbie questions. My apologies.

  • Anonymous
    March 04, 2005
    Unit testing is very useful. Developers must use it, if they wants to produce robust, efficient and reliable code. I use NUnit and it help me alot producing quality code. It takes 15-20% extra effort but that is all part of the developing great reliable product. Happy NUniting !!!
  • Anonymous
    March 07, 2005
    The comment has been removed
  • Anonymous
    June 08, 2009
    PingBack from http://hairgrowthproducts.info/story.php?id=4252