Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 4 and Visual Studio 2010 > BOOK: Professional Application Lifecycle Management with Visual Studio 2010
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Application Lifecycle Management with Visual Studio 2010
This is the forum to discuss the Wrox book Professional Application Lifecycle Management with Visual Studio 2010 by Mickey Gousset, Brian Keller, Ajoy Krishnamoorthy, Martin Woodward; ISBN: 9780470484265
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Application Lifecycle Management with Visual Studio 2010 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 13th, 2011, 09:26 AM
Registered User
Join Date: Aug 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Chapter 7 Unit Testing with the Unit Test Framework - examples

I think chapter 7 is good but can anyone point me to some C# code/application which uses the unit test framework so I can see a working example of how some of it's features are really used.
  #2 (permalink)  
Old September 24th, 2011, 10:07 AM
Registered User
Points: 9, Level: 1
Points: 9, Level: 1 Points: 9, Level: 1 Points: 9, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Sep 2011
Location: Minneapolis, Minnesota, USA
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Some suggestions for learning automated testing

I wish you the best in learning automated testing. It is one of our most powerful tools to prevent regression and uncover missing and misunderstood requirements. If you have these concerns, then it is worth learning about this topic.

What programming language is your favorite? I suggest you search on Google for the words (TDD using XXX) where XXX is your favorite language. This will give you lots of examples of excellent testing practices.

Have you performed the exercise in Chapter 7 for yourself? If not, I encourage you to create the Functions class and the FunctionsTest, and gain some practice. Coding and running the tests will be much more useful than merely reading about it.

If you want another tutorial to gain additional reinforcement, see this article http://msdn.microsoft.com/en-us/gg454254.

Automated testing is a widely used practice. I believe that if you practice these two tutorials, you will be able to see how you might apply this to testing your own work. As the book's introduction states, this book is not aimed at beginners. So those unfamiliar with basic automated testing practices will need to look elsewhere to learn more. That is why I gave you the link above. It provides some additional references.

If you simply want to see how other people write real tests, you can find some open source projects and if they are any good, they are likely to have automated tests. For example, I Googled open source c# and came up with a Content Management System called cayuhoga. I browsed their source tree and found examples of their test at https://github.com/cuyahogaproject/c...ts/Core/Domain. I am willing to bet that most open source projects have some automated tests. If you download and build any of them, you can explore them on your own.

It sounds as if you do not have a fellow programmer who knows about this. The fastest way to learn it is to work with another programmer who has done testing before and can demonstrate how it is done. But we can teach ourselves as well. That is how I learned it years ago.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 7: Unit Testing with the Unit Testing Framework antwarpes BOOK: Professional Application Lifecycle Management with Visual Studio 2010 3 September 25th, 2011 08:47 AM
Unit Testing jeffmorris BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 7 May 14th, 2007 06:51 AM
Unit Testing userrob BOOK: ASP.NET Website Programming Problem-Design-Solution 2 November 9th, 2005 10:35 AM
Unit Testing XSLT N.Todd XSLT 2 March 1st, 2005 08:31 PM

All times are GMT -4. The time now is 07:30 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.