⌊ K™¦krizzna.web.id ⌉

Sekedar coretan seorang nyubi

The Art of Unit Testing: With Examples in .Net

Posted on

51FXRestkbL. SL160  The Art of Unit Testing: With Examples in .Net

  • ISBN13: 9781933988276
  • Condition: NEW
  • Notes: Brand New from Publisher. No Remainder Mark.

Product Description
Unit testing, done right, can mean the diff erence between a failed project and a successful one, between a maintainable code base and a code base that no one dares touch, and between getting home at 2 AM or getting home in time for dinner, even before a release deadline. The Art of Unit Testing builds on top of what’s already been written about this important topic. It guides you step by step from simple tests to tests that are maintainable, readable, and trustwor… More >>

The Art of Unit Testing: With Examples in .Net

Share and Enjoy:
  • printfriendly The Art of Unit Testing: With Examples in .Net
  • digg The Art of Unit Testing: With Examples in .Net
  • delicious The Art of Unit Testing: With Examples in .Net
  • facebook The Art of Unit Testing: With Examples in .Net
  • yahoobuzz The Art of Unit Testing: With Examples in .Net
  • twitter The Art of Unit Testing: With Examples in .Net
  • googlebookmark The Art of Unit Testing: With Examples in .Net
  • email link The Art of Unit Testing: With Examples in .Net
  • linkedin The Art of Unit Testing: With Examples in .Net
  • live The Art of Unit Testing: With Examples in .Net
  • myspace The Art of Unit Testing: With Examples in .Net
  • pdf The Art of Unit Testing: With Examples in .Net
  • plurk The Art of Unit Testing: With Examples in .Net
  • slashdot The Art of Unit Testing: With Examples in .Net
  • technorati The Art of Unit Testing: With Examples in .Net
  • tumblr The Art of Unit Testing: With Examples in .Net
  • hackernews The Art of Unit Testing: With Examples in .Net

Tags: , , ,


  • http://www.amazon.com/Art-Unit-Testing-Examples-Net/dp/1933988274%3FSubscriptionId%3DAKIAJYJSDU2KTKP3AFEQ%26tag%3Dkrizznawebid-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D19 Mark Ewing

    I love this book, for a intermediate unit tester, this book not only furthered my knowledge of unit testing, but it also showed me alot about rhino mocks which is taking unit testing to the next level. This books also give you alot of insight on how to sway a development team towards the idea of incorporating unit testing into a reluctant group. Open your minds and let the unit test philosophy in brothers.

    -Mark
    Rating: 4 / 5

  • http://www.amazon.com/Art-Unit-Testing-Examples-Net/dp/1933988274%3FSubscriptionId%3DAKIAJYJSDU2KTKP3AFEQ%26tag%3Dkrizznawebid-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D19 Rajesh Pillai

    I loved this book right from the index page. Truly practical and result oriented. Thorough coverage of unit testing and integration testing. Another approach I liked is the author took a very pragmatic approach to unit testing. The section “Working with Legacy Code” is the icing on the cake. This is very useful if you are maintaining someone else’s code.

    In short the book walks the talk and is highly recommended to those who wish to take up unit testing in their day to day work. It sets the context straight.
    Rating: 5 / 5

  • http://www.amazon.com/Art-Unit-Testing-Examples-Net/dp/1933988274%3FSubscriptionId%3DAKIAJYJSDU2KTKP3AFEQ%26tag%3Dkrizznawebid-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D19 Bradford G. Palin

    First off, I’ve been doing unit testing for a while now. Very basic testing, at that. My existing tests, before I read this book, were rather hack-and-slash, with no serious organization, naming, or coding standards. They really only covered the low-hanging fruit of the code under test, and didn’t cover any code that had dependencies. With the stage set, on to the book.

    I won’t discuss every chapter of the book, as that has been done already. I will comment on specific ones of value to me.

    Chapters 3 and 4 were very educational for me, as they covered stubs and mocks, a subject I was unfamiliar with previously. Now that I know what they are and when, where, and how to use them, I will be able to simplify my unit tests.

    Chapter 7, about the pillars of unit tests, is worth the cost of the book. It emphasizes the importance of the trustworthiness, readability, and maintainability of your test code.

    There are two appendices, one on designing code for testability, and one listing various tools and frameworks to assist the unit testing process. These are good to have at hand.

    Now going back to where I started this review: after having read this book, I can see ways that my test code can be improved. I’ve already started naming my test cases in a standard manner, and organizing test classes so they parallel the code under test. I have started using dependency injection to enable testability, and my code coverage has risen as a result. I will be reviewing my tests for the qualities, or lack thereof, mentioned in the chapter about pillars of unit tests.

    As an aside, I would like to recommend an additional book: Working Effectively with Legacy Code, by Michael Feathers. Not to take away from this one, but the legacy code book is a fine choice to pair with this one. They are very complementary; Art of Unit Testing is about getting your code under test, while Working Effectively with Legacy Code is about refactoring your code to make it testable. Roy actually mentions the legacy code book in passing, and recommends it.

    If you are not already a guru on unit testing, and are looking to improve your knowledge on the subject, this book is for you. I recommend it.
    Rating: 5 / 5

  • http://www.amazon.com/Art-Unit-Testing-Examples-Net/dp/1933988274%3FSubscriptionId%3DAKIAJYJSDU2KTKP3AFEQ%26tag%3Dkrizznawebid-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D19 Cal Zant

    So, I ordered this book along with a few others when my team was about to start writing unit tests. Of all the books I ordered, this one was the most packed with realistic, hands-on guidance on how to organize your tests, and wide-ranging best practices and test patterns for how to write tests that are easy to maintain.

    Roy Osherove has a lot of experience helping companies with “the art” of unit testing. He believes the key to successful unit testing rests on three pillars: maintainability, readability, and trustworthiness. He explains in the book what those things actually look like in real-world examples and why you might not be getting everything you could be out of your tests if you overlook one of those.

    Roy also includes a fairly detailed comparison of the latest tools and frameworks you have to choose from. This section alone could save a ton of research time by getting a fairly unbiased, expert’s view of the pros and cons for these types of tools and frameworks:

    – Test Frameworks: NUnit, MSTest, MbUnit, Gallio, xUnit, Pex

    – Isolation Frameworks: Moq, Rhino Mocks, Typemock Isolator, NMock, NUnit.Mocks

    – IoC Containers: StructureMap, Unity, Castle Windsor, Autofac, Common Service Locator (CSL), Spring.NET, Managed Extensibility Framework (MEF), Ninject

    – Web Testing: Ivonna, VS Team System Web Test, NUnitAsp, Watir, WatiN, Selenium

    – UI Testing: NUnitForms, Project White, Team System UI Tests

    – Thread-Related Testing: Typemock Racer, Microsoft CHESS

    – Acceptance Testing: FitNesse, StoryTeller

    This book was a short 320 pages, but there is a ton of practical and applicable tips jammed between the covers. But, I have to mention that this book isn’t as polished as you would probably expect with most published works. It isn’t anything major, but just a few things in the text or code samples that should have been caught by testers or an editor. These issues don’t really take away from the content, but it just wasn’t up to the standard I expect when buying a published work. (And that is possibly the worst cover I have ever seen … yes, I get the reference to “The Art of War”).

    If you are remotely interested in this topic, you should listen to a recent podcast Roy did with Scott Hanselman on “The Art of Unit Testing.” Although the podcast is kind of like a cliff-notes version of the book … it isn’t a replacement. If you find the podcast remotely helpful, order the book.

    To read the full review or view more technical book reviews like this, visit [...].
    Rating: 4 / 5

  • http://www.amazon.com/Art-Unit-Testing-Examples-Net/dp/1933988274%3FSubscriptionId%3DAKIAJYJSDU2KTKP3AFEQ%26tag%3Dkrizznawebid-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D19 Frank Stepanski

    I have been a .NET developer for over 6 years now and honestly have not had a real need for unit testing until recently. My current job and dept are slowing forcing all their developers to write up unit-testing proceedures for all of the application they have developed and I thought getting this book would be a very good idea.

    This book covers unit testing in .NET from a pragmatic, yet thourough and passionate, perspective. It covers organizational topics such as how you introduce unit testing in an organization and how to do code reviews of tests.

    The book begins with an introduction to NUnit, and a set of definitions. It then moves quickly enough to a bit of practice with a first unit test.

    The next section develops the concept of mock and stubs, and discusses in depth the Rhino Mocks framework. This part furthermore presents a set of good practices related to the use of this Framework, or any other isolation framework.

    After discussing the building blocks of unit tests, the third part presents a set of good practice for the tests themselves, to avoid (among other issues) that the maintenance cost of the tests exceeds the advantage gained by their existence.

    The last part of the book is looking at a level above, and presents the different points to keep in mind when introducing unit tests in an organization and especially in an existing project, which can represent a large proportion of cases when introducing unit testing in a team or project.

    If you are new to unit testing like me, this book will demystify the practices, tools and techniques that would otherwise take years and lots of frustration to get right.

    A great buy and must read for any UNIT testers!
    Rating: 5 / 5