in samenwerking met
-
Inloggen
-- Inloggen
  • accountoverzicht
  • bestellingen
  • facturen betalen
  • downloadcentrum
  • gegevens
  • financieel
  • inloggen
  • uitloggen

Uw winkelwagen

Naar winkelwagen Verder winkelen
Titel niet gevonden? Wij gaan voor u op zoek!
Vul onderstaand formulier zo volledig mogelijk in, dan gaan wij voor u op zoek.
Vul onderstaand formulier zo volledig mogelijk in.
Alle rubrieken
Alle boeken
  • Cadeauboeken
  • Computer & Informatica
  • Economie
  • Filosofie
  • Flora en fauna
  • Geneeskunde
  • Geschiedenis
  • Gezondheid
  • Jeugd
  • Koken en eten
  • Kunst en cultuur
  • Literatuur en romans
  • Management
  • Mens en maatschappij
  • Naslagwerken
  • Non-fictie informatief/professioneel
  • Paramedisch
  • Psychologie
  • Reizen
  • Religie
  • Schoolboeken
  • Spiritualiteit
  • Sport, hobby, lifestyle
  • Thrillers en spanning
  • Wetenschap en techniek
  • Woordenboeken en taal
010-4091943
Klantenservice
Mijn account
Mijn bestellingen
010-4091943
Boeken IT-management / ICT The Art of Unit Testing with Examples in C#
The Art of Unit Testing with Examples in C#
Roy Osherove Meer over Roy Osherove
Roy Osherove

The Art of Unit Testing with Examples in C#

Specificaties
Paperback, 266 blz. | Engels
Manning | 2e druk, 2013
ISBN13: 9781617290893
Rubricering
Hoofdrubriek : Computer en informatica
Manning 2e druk, 2013 9781617290893
Verwachte levertijd ongeveer 11 werkdagen
53,74
In winkelwagen
 
Stel een vraag over dit boek
Samenvatting Specificaties Inhoudsopgave

Samenvatting

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.

What's Inside
- Create readable, maintainable, trustworthy tests
- Fakes, stubs, mock objects, and isolation (mocking) frameworks
- Simple dependency injection techniques
- Refactoring legacy code

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

Specificaties

ISBN13:9781617290893
Taal:Engels
Bindwijze:paperback
Aantal pagina's:266
Uitgever:Manning
Druk:2
Verschijningsdatum:20-11-2013
Hoofdrubriek:IT-management / ICT

Inhoudsopgave

U kunt van deze inhoudsopgave een PDF downloaden

Foreword to the second edition
Foreword to the first edition
Preface
Acknowledgments
About this book
About the cover illustration

Part 1: Getting started
1. The basics of unit testing
-Defining unit testing, step by step
-Properties of a good unit test
-Integration tests
-What makes unit tests good
-A simple unit test example
-Test-driven development
-The three core skills of successful TDD
-Summary

2. A first unit test
-Frameworks for unit testing
-Introducing the LogAn project
-First steps with NUnit
-Writing your first test
-Refactoring to parameterized tests
-More NUnit attributes
-Testing results that are system state changes instead of return values
-Summary

Part 2: Core techniques
3. Using stubs to break dependencies
-Introducing stubs
-Identifying a filesystem dependency in LogAn
-Determining how to easily test LogAnalyzer
-Refactoring your design to be more testable
-Variations on refactoring techniques
-Overcoming the encapsulation problem
-Summary

4. Interaction testing using mock objects
-Value-based vs. state-based vs. interaction testing
-The difference between mocks and stubs
-A simple handwritten mock example
-Using a mock and a stub together
-One mock per test
-Fake chains: stubs that produce mocks or other stubs
-The problems with handwritten mocks and stubs
-Summary

5. Isolation (mocking) frameworks
-Why use isolation frameworks?
-Dynamically creating a fake object
-Simulating fake values
-Testing for event-related activities
-Current isolation frameworks for .NET
-Advantages and traps of isolation frameworks
-Summary

6. Digging deeper into isolation frameworks
-Constrained and unconstrained frameworks
-Values of good isolation frameworks
-Features supporting future-proofing and usability
-Isolation framework design antipatterns
-Summary

Part 3: The test code
7. Test hierarchies and organization
-Automated builds running automated tests
-Mapping out tests based on speed and type
-Ensuring tests are part of source control
-Mapping test classes to code under test
-Cross-cutting concerns injection
-Building a test API for your application
-Summary

8. The pillars of good unit tests
-Writing trustworthy tests
-Writing maintainable tests
-Writing readable tests
-Summary

Part 4: Design and process
9. Integrating unit testing into the organization
-Steps to becoming an agent of change
-Ways to succeed
-Ways to fail
-Influence factors
-Tough questions and answers
-Summary

10. Working with legacy code
-Where do you start adding tests?
-Choosing a selection strategy
-Writing integration tests before refactoring
-Important tools for legacy code unit testing
-Summary

11. Design and testability
-Why should I care about testability in my design?
-Design goals for testability
-Pros and cons of designing for testability
-Alternatives to designing for testability
-Example of a hard-to-test design
-Summary
-Additional resources

Appendix: Tools and frameworks

Index

Anderen die dit boek kochten, kochten ook

  • De Ai basisgids voor leraren
    Dieter Möckelmann
    De Ai basisgids voor leraren
    € 16,95
  • AI voor iedereen
    Erdinç Saçan
    AI voor iedereen
    € 34,99
  • Bestuurlijke informatievoorziening
    Willem Leijnse
    Bestuurlijke informatievoorziening
    € 72,95
  • ArchiMate® 3.2 Specification
    The Open Group
    ArchiMate® 3.2 Specification
    € 49,00
  • AI Agents
    Job van den Berg
    AI Agents
    € 34,95
  • Cruisecontrol
    Taco Oosterkamp
    Cruisecontrol
    € 24,95

Rubrieken

Uw cookie-instellingen
Deze website maakt gebruik van verschillende soorten cookies. Sommige cookies worden geplaatst door diensten van derden die op onze pagina's worden weergegeven. Om deze externe content te kunnen tonen is nodig dat u toestemming geeft voor het zetten van persoonlijke en marketingcookies. U kunt uw toestemming op elk moment wijzigen of intrekken. In onze cookieverklaring vindt u meer informatie.

Functionele cookies
Deze zijn noodzakelijk voor de werking van de website, zonder deze cookies kan de website niet naar behoren werken.

Persoonlijke en marketingcookies
Wij gebruiken cookies voor statistieken om bij te houden en rapportages te krijgen over hoe bezoekers de website gebruiken. Zo kunnen wij onze website verbeteren. Marketingcookies worden gebruikt om bezoekers te volgen wanneer ze verschillende websites bezoeken. Hun doel is advertenties weergeven die zijn toegesneden op en relevant zijn voor de individuele gebruiker.
Gratis verzending – 5% korting bij 2 of meer Nederlandse boeken – 10% korting op buitenlandse boeken

Klantenservice

Contact Voorwaarden

Bestellen en retourneren
DE STUDIEBOEKHANDEL VOOR HANZEHOGESCHOOL
Algemene voorwaarden Privacy Cookies Service & Contact
© 2025 Wristers Boekverkopers BV

Populaire producten

    Personen

      Trefwoorden

        The Art of Unit Testing with Examples in C#

        The Art of Unit Testing with Examples in C#
        Roy Osherove
        /
        loader
        Recensiebeleid
        Noordhoff terugkoopgarantie

        Noordhoff koopt jouw boek terug, zonder zorgen!

        Heb je jouw boeken niet meer nodig?

        Als je jouw studieboeken gekocht hebt bij hanzestudybook.nl, kun je geselecteerde titels moeiteloos terugverkopen aan Noordhoff. Geen vragen, geen gedoe en lekker duurzaam.

        Volledige informatie op Noordhoff.nl

        AI-book

        Wat is een AI-book?

        Een AI-book is niet een boek dat geschreven is door AI maar een boek dat verrijkt is met AI. Het maakt de inhoud van een boek interactief via WhatsApp, zodat je ermee kunt chatten. Zie het als een razend slimme assistent die het boek perfect begrijpt en er alles uit onthouden heeft. Jij kunt deze assistent alles vragen. Vraag bijvoorbeeld hoe je iets kunt toepassen op jouw persoonlijke situatie, om een korte samenvatting, of wat de belangrijkste inzichten zijn. AI-books zijn alleen te gebruiken via WhatsApp, je hoeft er geen aparte app voor te installeren.
        Meer informatie over AI-books

        ?

        Geef uw beoordeling

        The Art of Unit Testing with Examples in C#

        Verwijder uw beoordeling