Skip to main content

Testing Your Code

  • Chapter
How to Code .NET
  • 284 Accesses

Abstract

This book will introduce a series of techniques for how to write code in .NET. The best way to learn is to run a series of tests, and thus most of the examples in this book use a utility called NUnit1 because I want to implement test-driven development (TDD). In a nutshell the idea behind TDD is to architect, develop, and test your code at the same time. Additionally, it helps me write pieces of code that you can verify. In general development, the benefit of testing and developing code at the same time is that when your code is finished you know that it is tested enough to make you reasonably sure that stupid errors will not happen. The quality assurance department at your company will not complain about the lack of quality.

http://www.nunit.org/

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 49.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Christian Gross

About this chapter

Cite this chapter

(2006). Testing Your Code. In: How to Code .NET. Apress. https://doi.org/10.1007/978-1-4302-0242-4_1

Download citation

Publish with us

Policies and ethics