locked
good book for learning testing RRS feed

  • Question

  • User-9833593 posted

    Hello everyone please introduce me a good book for learning testing?(I am beginner in this term)

    Wednesday, June 15, 2011 11:29 AM

Answers

  • User-417784260 posted

    The Art of Unit Testing By Roy Osherove is a very good book

    http://artofunittesting.com/

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 15, 2011 12:44 PM
  • User-434868552 posted

    http://xunitpatterns.com/
       "xUnit Test Patterns", Gerard Meszaros
        "The book has won a Jolt Productivity Award in the Best Technical Book category!"

    Addison-Wesley (May 31, 2007), 833 pages
    ISBN-10: 9780131495050
    ISBN-13: 978-0131495050

    You can get a good sense of  Gerard Meszaros' excellent book from the above link; he's put quite a bit of the material online.

    Note:  xUnit, in the title of the above book, is used generically for JUnit, NUnit, et cetera.

    Check out xUnit.net, imo, the best unit testing framework for .NET.  http://xunit.codeplex.com/

    g.

    P.S.:  ASP.NET MVC was designed to faciliate unit testing.  http://www.asp.net/mvc/mvc3

    http://www.apress.com/9781430234043
    "Pro ASP.NET MVC 3 Framework", 3rd Edition
      Adam Freeman , Steven Sanderson
      ISBN13: 978-1-4302-3404-3, 820 Pages
      User Level: Intermediate to Advanced
      Publishing July 5, 2011

    http://www.amazon.com/Pro-ASP-NET-MVC-3-Framework/dp/1430234040
    "The ASP.NET MVC 3 Framework is the latest evolution of Microsoft’s ASP.NET web platform.
      It provides a radically new high-productivity programming model that promotes cleaner code architecture,
      test-driven development, and powerful extensibility, combined with all the benefits of ASP.NET 4."

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, June 21, 2011 2:05 PM
  • User-434868552 posted

    worth listening to:

    http://www.se-radio.net/2007/10/episode-70-gerard-meszaros-on-xunit-test-patterns/

    Host(s): Martin
    In this episode we talk with Gerard Meszaros about problems and challenges doing unit testing in real-world projects. Starting from a short discussion about the importance of automated unit testing we spend most of this episode to talk about every day problems doing unit testing and how those problems can be solved. Based on this book on xunit testing patterns, Gerard talks about his experiences with unit test smells as an analogy to code smells. He describes an impressive set of unit testing patterns to overcome those difficult testing situations and illustrates them with nice examples everybody doing unit testing will feel familiar with.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, June 21, 2011 4:35 PM
  • User-434868552 posted

    one more book, definitely working mentioning, is
    "Test-Driven Development in Microsoft® .NET", James W. Newkirk; Alexei A. Vorontsov
       March 17, 2004, 304 Pages, Intermediate, Advanced
    ISBN 13:  9780735619487; ISBN 10: 0-7356-1948-4; Paperback, $39.99
       http://www.microsoft.com/learning/en/us/book.aspx?ID=6778&locale=en-us

    James (Jim) Newkirk, with Alexei Vorontsov were developers of the open source .NET unit testing framework NUnit 2.0.
      http://www.nunit.org/

    James Newirk, with Brad Wilson are the developers of xUnit.net.  Both are currently Microsoft employees.
      http://xunit.codeplex.com/

    Note:  the 2004 version of this book uses NUnit for demonstrating the principles discussed.
    (I keep hoping that James Newkirk will find the time to rewrite and update the 2004 version using xUnit.net)

    James Newkirk also manages the  developer repository codeplex.com for Microsoft.
       http://www.codeplex.com/   "Project Hosting for Open Source Software"

    g.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 23, 2011 2:34 PM

All replies

  • User-417784260 posted

    The Art of Unit Testing By Roy Osherove is a very good book

    http://artofunittesting.com/

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 15, 2011 12:44 PM
  • User-434868552 posted

    http://xunitpatterns.com/
       "xUnit Test Patterns", Gerard Meszaros
        "The book has won a Jolt Productivity Award in the Best Technical Book category!"

    Addison-Wesley (May 31, 2007), 833 pages
    ISBN-10: 9780131495050
    ISBN-13: 978-0131495050

    You can get a good sense of  Gerard Meszaros' excellent book from the above link; he's put quite a bit of the material online.

    Note:  xUnit, in the title of the above book, is used generically for JUnit, NUnit, et cetera.

    Check out xUnit.net, imo, the best unit testing framework for .NET.  http://xunit.codeplex.com/

    g.

    P.S.:  ASP.NET MVC was designed to faciliate unit testing.  http://www.asp.net/mvc/mvc3

    http://www.apress.com/9781430234043
    "Pro ASP.NET MVC 3 Framework", 3rd Edition
      Adam Freeman , Steven Sanderson
      ISBN13: 978-1-4302-3404-3, 820 Pages
      User Level: Intermediate to Advanced
      Publishing July 5, 2011

    http://www.amazon.com/Pro-ASP-NET-MVC-3-Framework/dp/1430234040
    "The ASP.NET MVC 3 Framework is the latest evolution of Microsoft’s ASP.NET web platform.
      It provides a radically new high-productivity programming model that promotes cleaner code architecture,
      test-driven development, and powerful extensibility, combined with all the benefits of ASP.NET 4."

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, June 21, 2011 2:05 PM
  • User-434868552 posted

    worth listening to:

    http://www.se-radio.net/2007/10/episode-70-gerard-meszaros-on-xunit-test-patterns/

    Host(s): Martin
    In this episode we talk with Gerard Meszaros about problems and challenges doing unit testing in real-world projects. Starting from a short discussion about the importance of automated unit testing we spend most of this episode to talk about every day problems doing unit testing and how those problems can be solved. Based on this book on xunit testing patterns, Gerard talks about his experiences with unit test smells as an analogy to code smells. He describes an impressive set of unit testing patterns to overcome those difficult testing situations and illustrates them with nice examples everybody doing unit testing will feel familiar with.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, June 21, 2011 4:35 PM
  • User-9833593 posted

    Thanks ,your post is so good like your other posts 

    Thursday, June 23, 2011 3:23 AM
  • User-434868552 posted

    one more book, definitely working mentioning, is
    "Test-Driven Development in Microsoft® .NET", James W. Newkirk; Alexei A. Vorontsov
       March 17, 2004, 304 Pages, Intermediate, Advanced
    ISBN 13:  9780735619487; ISBN 10: 0-7356-1948-4; Paperback, $39.99
       http://www.microsoft.com/learning/en/us/book.aspx?ID=6778&locale=en-us

    James (Jim) Newkirk, with Alexei Vorontsov were developers of the open source .NET unit testing framework NUnit 2.0.
      http://www.nunit.org/

    James Newirk, with Brad Wilson are the developers of xUnit.net.  Both are currently Microsoft employees.
      http://xunit.codeplex.com/

    Note:  the 2004 version of this book uses NUnit for demonstrating the principles discussed.
    (I keep hoping that James Newkirk will find the time to rewrite and update the 2004 version using xUnit.net)

    James Newkirk also manages the  developer repository codeplex.com for Microsoft.
       http://www.codeplex.com/   "Project Hosting for Open Source Software"

    g.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 23, 2011 2:34 PM