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

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

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

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

Brian Nantz

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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


NUnit Architecture


The secret to NUnit's success is its simple architecture. Figure 6-1 on p. 154 shows a conceptual view of NUnit tests. Using NUnit is very easy.

Figure 6-1. NUnit Conceptual View

Figure 6-1 shows that a full NUnit Test Suite is made up of one or more Test Fixtures. Test Fixtures, in turn, are made up of one or more Tests. A test can have a setup and teardown method for preparing for and cleaning up after a test.

Setting up your first test and integrating it into your NAnt build should not take very long. Once the unit testing dll is created, adding new tests into it is very simple. As you create more unit testing dlls, the process gets faster and faster.

TIP

If you tried NUnit early on when it was pretty much a port of jUnit, you need to take another look. In version 2.0, NUnit was pretty much rewritten to use the features of .NET that do not exist in Java.


    / 275