Maximizing.ASP.dot.NET.Real.World.ObjectOriented.Development [Electronic resources] نسخه متنی

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

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

Maximizing.ASP.dot.NET.Real.World.ObjectOriented.Development [Electronic resources] - نسخه متنی

Jeffrey Putz

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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






Summary


Keeping testing on your mind from the beginning of a project can lead to higher-quality code throughout the development process. Test-driven development requires that you write test code before the actual production code and that you write production code to pass the tests. By taking this seemingly backward approach, you can be considerably more confident that your code functions as intended because the tests are less colored by your knowledge of the code.

NUnit is an open-source application used to run unit tests against your code. The application loads an assembly and looks for test fixtures, each of which contains one or more tests to run. If each test passes, evaluating a number of different conditions offered by the NUnit framework, the test appears green in the app. You can further debug your applications by attaching the Visual Studio debugger to NUnit.

Test-driven development borders on religion for some developers, and it really is a fascinating and efficient way to write code. To learn more about TDD with .NET, I recommend Test-Driven Development in Microsoft .NET (Microsoft Professional, 2004) by James W. Newkirk and Alexei A. Vorontsov. Their book covers this approach to development extensively with plenty of information on NUnit.

The various versions of Visual Studio offer a number of methods to deploy your finished application to a production site. The pre-compilation option in Visual Studio 2005 in particular offers easy "xcopy" deployment of the files to production.

Visual Source Safe allows teams of developers to version code and compare changes from one check-in to the next.


/ 146