Open Source .NET Development [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Open Source .NET Development [Electronic resources] - نسخه متنی

Brian Nantz

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


Unit Testing Platforms


There are a number of Unit Testing platforms that are useful in .NET development, including .NETUnit (http://sourceforge.net/projects/dotnetunit), csunit (http://www.csunit.org), and HarnessIt (http://www.unittesting.com/), but by far the most well-supported and feature-rich Unit testing platform is NUnit (http://NUnit.sourceforge.net).


A Word About Extreme Programming


It may seem as if I am pushing Extreme Programming, and this is typically met with one of two Extreme Reactions. Let me assure you that I am not blindly endorsing Extreme Programming. Having said that, I do believe that .NET does seem to lend itself to many of the Extreme Programming (XP) fundamentals. There are three aspects of XP that are somewhat alluded to in this part of the book. First is Test-First development. Test-First development is more of a necessity than a best practice. Testing does take time, and just like many other things in life, you only get better at it with experience. With the time-crunched schedules of most developers, if you do not write the tests first, the tests will never get written, just as when you are committed to jogging to get more exercise. If you are pressed for time, the best time to jog is first thing in the morning to ensure it gets done. It's the same with testing software: test first thing in the development process to ensure it gets done. The second XP aspect is small coding teams, which Microsoft's own Solution Framework Model (http://www.microsoft.com/msf), in line with XP, recommends. Third is continuous integration, which is covered in the next chapter. Continuous integration, when used where it makes sense, can automate many of the tasks of building and testing in a nice graphical display.


    / 275