Articoli correlati a The Art of Unit Testing: With Examples in C#

The Art of Unit Testing: With Examples in C# - Brossura

 
9781617290893: The Art of Unit Testing: With Examples in C#

Sinossi

Summary

The Art of Unit Testing, Second Edition guides you step by step from writing your first simple tests to developing robust test sets that are maintainable, readable, and trustworthy. You'll master the foundational ideas and quickly move to high-value subjects like mocks, stubs, and isolation, including frameworks such as Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, working with legacy code, and even "untestable" code. Along the way, you'll learn about integration testing and techniques and tools for testing databases and other technologies.

About this Book

You know you should be unit testing, so why aren't you doing it? If you're new to unit testing, if you find unit testing tedious, or if you're just not getting enough payoff for the effort you put into it, keep reading.

The Art of Unit Testing, Second Edition guides you step by step from writing your first simple unit tests to building complete test sets that are maintainable, readable, and trustworthy. You'll move quickly to more complicated subjects like mocks and stubs, while learning to use isolation (mocking) frameworks like Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, refactor code applications, and learn how to test "untestable" code. Along the way, you'll learn about integration testing and techniques for testing with databases.

The examples in the book use C#, but will benefit anyone using a statically typed language such as Java or C++.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

What's Inside

  • Create readable, maintainable, trustworthy tests
  • Fakes, stubs, mock objects, and isolation (mocking) frameworks
  • Simple dependency injection techniques
  • Refactoring legacy code

About the Author

Roy Osherove has been coding for over 15 years, and he consults and trains teams worldwide on the gentle art of unit testing and test-driven development. His blog is at ArtOfUnitTesting.com.

Table of Contents

    PART 1 GETTING STARTED

    1. The basics of unit testing
    2. A first unit test

    3. PART 2 CORE TECHNIQUES

    4. Using stubs to break dependencies

    5. Interaction testing using mock objects

    6. Isolation (mocking) frameworks

    7. Digging deeper into isolation frameworks

    8. PART 3 THE TEST CODE

    9. Test hierarchies and organization

    10. The pillars of good unit tests

    11. PART 4 DESIGN AND PROCESS

    12. Integrating unit testing into the organization

    13. Working with legacy code
    14. Design and testability

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

L'autore

Roy Osherove consults and trains teams worldwide on the gentle art of unit testing and test-driven development, and trains team leaders how to lead better at 5whys.com. He tweets at @RoyOsherove and has many videos about unit testing at ArtOfUnitTesting.com. His testing blog is at http://osherove.com/blog.

Product Description

Book by Osherove Roy

Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.

  • EditoreManning Pubns Co
  • Data di pubblicazione2013
  • ISBN 10 1617290890
  • ISBN 13 9781617290893
  • RilegaturaCopertina flessibile
  • LinguaInglese
  • Numero edizione2
  • Numero di pagine266

Compra usato

Condizioni: buono
Ship within 24hrs. Satisfaction...
Visualizza questo articolo

GRATIS per la spedizione in U.S.A.

Destinazione, tempi e costi

Risultati della ricerca per The Art of Unit Testing: With Examples in C#

Foto dell'editore

Osherove, Roy
Editore: Manning (edition 2nd), 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Antico o usato Paperback

Da: BooksRun, Philadelphia, PA, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: Good. 2nd. Ship within 24hrs. Satisfaction 100% guaranteed. APO/FPO addresses supported. Codice articolo 1617290890-11-1

Contatta il venditore

Compra usato

EUR 9,10
Convertire valuta
Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Osherove, Roy
Editore: Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Antico o usato Brossura

Da: Dream Books Co., Denver, CO, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: acceptable. This copy has clearly been enjoyedâ"expect noticeable shelf wear and some minor creases to the cover. Binding is strong, and all pages are legible. May contain previous library markings or stamps. Codice articolo DBV.1617290890.A

Contatta il venditore

Compra usato

EUR 9,93
Convertire valuta
Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Osherove, Roy
Editore: Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Antico o usato paperback

Da: Goodwill Books, Hillsboro, OR, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

paperback. Condizione: VeryGood. Minimal signs of wear. Codice articolo 3IIT7G005QQU_ns

Contatta il venditore

Compra usato

EUR 6,92
Convertire valuta
Spese di spedizione: EUR 3,53
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Osherove, Roy
Editore: Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Antico o usato Brossura

Da: Bay State Book Company, North Smithfield, RI, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: good. The book is in good condition with all pages and cover intact, including the dust jacket if originally issued. The spine may show light wear. Pages may contain some notes or highlighting, and there might be a "From the library of" label. Boxed set packaging, shrink wrap, or included media like CDs may be missing. Codice articolo BSM.KN9M

Contatta il venditore

Compra usato

EUR 10,72
Convertire valuta
Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Osherove, Roy
Editore: Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Antico o usato Paperback

Da: WorldofBooks, Goring-By-Sea, WS, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: Very Good. The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Codice articolo GOR008496338

Contatta il venditore

Compra usato

EUR 5,91
Convertire valuta
Spese di spedizione: EUR 6,58
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Osherove, Roy
Editore: Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Antico o usato Brossura

Da: Blue Vase Books, Interlochen, MI, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: good. The item shows wear from consistent use, but it remains in good condition and works perfectly. All pages and cover are intact including the dust cover, if applicable . Spine may show signs of wear. Pages may include limited notes and highlighting. May NOT include discs, access code or other supplemental materials. Codice articolo BVV.1617290890.G

Contatta il venditore

Compra usato

EUR 12,62
Convertire valuta
Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Osherove, Roy
Editore: Manning Publications, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Antico o usato Paperback

Da: HPB-Emerald, Dallas, TX, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: Very Good. Connecting readers with great books since 1972! Used books may not include companion materials, and may have some shelf wear or limited writing. We ship orders daily and Customer Service is our top priority! Codice articolo S_433687172

Contatta il venditore

Compra usato

EUR 13,65
Convertire valuta
Spese di spedizione: EUR 3,31
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Osherove, Roy
Editore: Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Antico o usato Paperback

Da: Grumpys Fine Books, Tijeras, NM, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: very good. little wear and tear. Codice articolo Grumpy1617290890

Contatta il venditore

Compra usato

EUR 21,75
Convertire valuta
Spese di spedizione: EUR 3,76
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Osherove, Roy
Editore: Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Nuovo Paperback

Da: Grumpys Fine Books, Tijeras, NM, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: new. Prompt service guaranteed. Codice articolo Clean1617290890

Contatta il venditore

Compra nuovo

EUR 35,10
Convertire valuta
Spese di spedizione: EUR 3,76
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Roy Osherove
Editore: Pearson Education, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Nuovo PAP

Da: PBShop.store UK, Fairford, GLOS, Regno Unito

Valutazione del venditore 4 su 5 stelle 4 stelle, Maggiori informazioni sulle valutazioni dei venditori

PAP. Condizione: New. New Book. Shipped from UK. Established seller since 2000. Codice articolo PB-9781617290893

Contatta il venditore

Compra nuovo

EUR 40,15
Convertire valuta
Spese di spedizione: EUR 5,90
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

Quantità: 6 disponibili

Aggiungi al carrello

Vedi altre 11 copie di questo libro

Vedi tutti i risultati per questo libro