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.

Informazioni sugli autori

Roy Osherove is an internationally-recognized expert in unit testing and agile software methodology. Still an active coder, he consults and trains teams worldwide on the gentle art of unit testing and test-driven development. He is also the author of Elastic Leadership (Manning 2016). Roy’s blog is at ArtOfUnitTesting.com.

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.

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

Compra usato

Condizioni: molto buono
All orders are dispatched within...
Visualizza questo articolo

EUR 5,76 per la spedizione da Regno Unito a Italia

Destinazione, tempi e costi

EUR 8,06 per la spedizione da Regno Unito a Italia

Destinazione, tempi e costi

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

Foto dell'editore

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

Da: Goldstone Books, Llandybie, Regno Unito

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

paperback. Condizione: Very Good. All orders are dispatched within one working day from our UK warehouse. We've been selling books online since 2004! We have over 750,000 books in stock. No quibble refund if not completely satisfied. Codice articolo mon0007434675

Contatta il venditore

Compra usato

EUR 5,61
Convertire valuta
Spese di spedizione: EUR 5,76
Da: Regno Unito a: Italia
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: ThriftBooks-Dallas, Dallas, TX, U.S.A.

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

Paperback. Condizione: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less 1.15. Codice articolo G1617290890I4N00

Contatta il venditore

Compra usato

EUR 7,88
Convertire valuta
Spese di spedizione: EUR 7,43
Da: U.S.A. a: Italia
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 Brossura

Da: medimops, Berlin, Germania

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

Condizione: good. Befriedigend/Good: Durchschnittlich erhaltenes Buch bzw. Schutzumschlag mit Gebrauchsspuren, aber vollständigen Seiten. / Describes the average WORN book or dust jacket that has all the pages present. Codice articolo M01617290890-G

Contatta il venditore

Compra usato

EUR 23,98
Convertire valuta
Spese di spedizione: EUR 4,50
Da: Germania a: Italia
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 Brossura

Da: Speedyhen, London, Regno Unito

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

Condizione: NEW. Codice articolo NW9781617290893

Contatta il venditore

Compra nuovo

EUR 38,27
Convertire valuta
Spese di spedizione: EUR 8,06
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 4 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 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

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

Contatta il venditore

Compra nuovo

EUR 43,19
Convertire valuta
Spese di spedizione: EUR 6,07
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 4 disponibili

Aggiungi al carrello

Foto dell'editore

0
Editore: Manning, 2013
ISBN 10: 1617290890 ISBN 13: 9781617290893
Nuovo Brossura

Da: Basi6 International, Irving, TX, U.S.A.

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

Condizione: Brand New. New. US edition. Expediting shipping for all USA and Europe orders excluding PO Box. Excellent Customer Service. Codice articolo ABEJUNE24-11547

Contatta il venditore

Compra nuovo

EUR 52,63
Convertire valuta
Spese di spedizione: GRATIS
Da: U.S.A. a: Italia
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 Brossura

Da: Romtrade Corp., STERLING HEIGHTS, MI, U.S.A.

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

Condizione: New. This is a Brand-new US Edition. This Item may be shipped from US or any other country as we have multiple locations worldwide. Codice articolo ABNR-28788

Contatta il venditore

Compra nuovo

EUR 52,63
Convertire valuta
Spese di spedizione: GRATIS
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: 5 disponibili

Aggiungi al carrello

Foto dell'editore

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

Da: Kennys Bookshop and Art Galleries Ltd., Galway, GY, Irlanda

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

Condizione: New. Num Pages: 266 pages, illustrations (black and white). BIC Classification: UMZT. Category: (P) Professional & Vocational. Dimension: 186 x 233 x 15. Weight in Grams: 522. . 2013. 2nd Edition. Paperback. . . . . Codice articolo V9781617290893

Contatta il venditore

Compra nuovo

EUR 51,76
Convertire valuta
Spese di spedizione: EUR 2,00
Da: Irlanda a: Italia
Destinazione, tempi e costi

Quantità: 4 disponibili

Aggiungi al carrello

Foto dell'editore

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

Da: Ria Christie Collections, Uxbridge, Regno Unito

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

Condizione: New. In. Codice articolo ria9781617290893_new

Contatta il venditore

Compra nuovo

EUR 46,47
Convertire valuta
Spese di spedizione: EUR 10,37
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 4 disponibili

Aggiungi al carrello

Foto dell'editore

Osherove Roy
ISBN 10: 1617290890 ISBN 13: 9781617290893
Nuovo Brossura

Da: Biblios, Frankfurt am main, HESSE, Germania

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

Condizione: New. pp. 375. Codice articolo 1854528218

Contatta il venditore

Compra nuovo

EUR 48,94
Convertire valuta
Spese di spedizione: EUR 7,95
Da: Germania a: Italia
Destinazione, tempi e costi

Quantità: 4 disponibili

Aggiungi al carrello

Vedi altre 15 copie di questo libro

Vedi tutti i risultati per questo libro