Thursday, November 26, 2009

NUnit Pocket Reference or Mathematics for Electrical Engineering and Computing

NUnit Pocket Reference

Author: William Hamilton

Few .NET developers have the luxury of unlimited codetesting once their application is complete, and rushing through the testing process is both problematic and stressful. The open source NUnit framework provides an excellent and efficient way to test and improve .NET code as it's written, saving hundreds of QA hours and headaches.

NUnit is one of the most mature and widely-used .NET open source projects even Microsoft uses it internally. NUnit is a unit-testing framework for all .Net languages. Written entirely in C#, NUnit takes advantage of many .NET language features, such as custom attributes and other reflection related capabilities. It automates unit testing and reduces the effort required to frequently test code while developing it. NUint is invaluable for .NET developers in test-driven development under agile methodologies such as Extreme Programming (XP) as well as for developers who use for unit testing for software quality assurance. Unfortunately, some of those valuable hours saved by using NUnit can be wasted trying to master this powerful but under-documented framework

Proof that good things come in small packages, the NUnit Pocket Reference is a complete reference to NUnit, filling in the blanks left by the existing documentation and online discussion. It offers developers everything they need to know to install, configure, and use NUnit; the NUnit user interface; and a reference to the NUnit framework classes in a slim but well-organized package. This handy little book even offers practical, real world NUnit examples. And with the NUnit Pocket Reference, IT managers will know to expect when they implement unit testing in their projects. It is the only book you'll need on this popular and practical new open source framework.



Table of Contents:
Introduction1
Unit Testing3
Testing Software3
What Is Unit Testing and Where Did It Come from?7
Test-Driven Development9
Test Harness10
Unit Test Design and Development Overview10
Best Practices for Unit Testing11
What Is NUnit?12
How Does NUnit Work?12
Setting Up NUnit13
Prerequisites13
Programming Languages14
Getting NUnit14
Installing NUnit14
Configuring NUnit16
Manual Installation17
Navigating the Source Code18
Unit Testing with NUnit18
Creating a Test21
Running a Test25
Assertions26
Other Testing Elements31
Test Runner GUI38
User Interface38
NUnit Projects49
Running Tests58
Running the Test Runner GUI from the Command Line64
Test Runner Console66
Debugging with NUnit70
Testing with Mock Objects73
Compatibility74
Using NUnit 2.1 Tests with NUnit 2.274
Using NUnit 2.0 Tests with NUnit 2.274
Upgrading from NUnit 1.x to 2.275
Changes from NUnit 2.1 to 2.276
Changes from NUnit 2.0 to 2.177
Extending NUnit79
Integrating NUnit with Visual Studio .NET79
NUnit Addln for Visual Studio .NET79
VSNUnit82
NUnitAsp83
NCover83
NAnt84
Nantpad84
Index85

See also: Plain Lives in a Golden Age or Travel Perspectives

Mathematics For Electrical Engineering And Computing

Author: Mary Attenborough

Mathematics for Electrical Engineering and Computing embraces many applications of modern mathematics, such as Boolean Algebra and Sets and Functions, and also teaches both discrete and continuous systems - particularly vital for Digital Signal Processing (DSP). In addition, as most modern engineers are required to study software, material suitable for Software Engineering - set theory, predicate and prepositional calculus, language and graph theory - is fully integrated into the book.

Excessive technical detail and language are avoided, recognising that the real requirement for practising engineers is the need to understand the applications of mathematics in everyday engineering contexts. Emphasis is given to an appreciation of the fundamental concepts behind the mathematics, for problem solving and undertaking critical analysis of results, whether using a calculator or a computer.

The text is backed up by numerous exercises and worked examples throughout, firmly rooted in engineering practice, ensuring that all mathematical theory introduced is directly relevant to real-world engineering. The book includes introductions to advanced topics such as Fourier analysis, vector calculus and random processes, also making this a suitable introductory text for second year undergraduates of electrical, electronic and computer engineering, undertaking engineering mathematics courses.

The book is supported by a comprehensive website, featuring:
• plotXpose software (for equation solving, and drawing graphs of simple functions, their derivatives, integrals and Fourier transforms)
• over 60 pages of "Background Mathematics" reinforcing introductory material forrevision purposes in advance of your first year course
• problems and projects (linking directly to the software)
• a complete worked solutions manual (password protected)

Dr. Attenborough is a former Senior Lecturer in the School of Electrical, Electronic and Information Engineering at South Bank University. She is currently Technical Director of The Webbery - Internet development company, Co. Donegal, Ireland.



No comments:

Post a Comment