Skip to Main Content
Pro XAML with C#: Application Development Strategies
book

Pro XAML with C#: Application Development Strategies

by Buddy James, Lori Lalonde
July 2015
Intermediate to advanced content levelIntermediate to advanced
296 pages
7h 27m
English
Apress
Content preview from Pro XAML with C#: Application Development Strategies

CHAPTER 6

image

Advanced Unit Testing and Test-Driven Development

If unit testing is a practice that you choose to utilize in your projects, chances are that once you get the hang of writing effective unit tests, you will write a lot of them. It’s important to remember that a unit test fixture is a class, and as such, you should take advantage of the benefits offered by object-oriented design.

Test Fixtures Are Classes Too

When writing your unit tests, be sure to keep your eyes open for any chance to reduce complexity. Since your test fixtures are usually centered on the same domain, you will find yourself creating instances of entities to be used ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Xamarin.Forms Mobile Apps Using XAML: Mobile Cross-Platform XAML and Xamarin.Forms Fundamentals

Building Xamarin.Forms Mobile Apps Using XAML: Mobile Cross-Platform XAML and Xamarin.Forms Fundamentals

Dan Hermes, Nima Mazloumi
XAML Developer Reference

XAML Developer Reference

Mamta Dalal, Ashish Ghoda

Publisher Resources

ISBN: 9781430267751Purchase book