Pragmatic Unit Testing in Java With JUnit

(häftad)

av Andy Hunt, Dave Thomas

Bloggar      
Format:
Häftad (paperback)
Utgiven:
2003-09-01
Språk:
Engelska

Learn how to improve your Java coding skills using unit testing. Despite it's name, unit testing is really a coding technique, not a testing technique. Unit testing is done by programmers, for programmers. It's primarily for our benefit: we get improved confidence in our code, better ability to make deadlines, less time spent in the debugger, and less time beating on the code to make it work correctly.

This book shows how to write tests, but more importantly, it goes where other books fear to tread and gives you concrete advice and examples of what to test--the common things that go wrong in all of our programs. Discover the tricky hiding places where bugs breed, and how to catch them using the freely available JUnit framework. It's easy to learn how to think of all the things in your code that are likely to break. We'll show you how with helpful mnemonics, summarized in a handy tip sheet (also available from our "http://www.pragmaticprogrammer.com www.pragmaticprogrammer.com website) to help you remember all this stuff.

With this book you will:


  • Write better code, and take less time to write it
  • Discover the tricky places where bugs breed
  • Learn how to think of all the things that could go wrong
  • Test individual pieces of code without having to include the whole project
  • Test effectively with the whole team
We'll also cover how to use Mock Objects for testing, how to write high quality test code, and how to use unit testing to improve your design skills. We'll show you frequent "gotchas"--along with the fixes--to save you time when problems come up. We'll show you how with helpful mnemonics, summarized in a handy tip sheet (also available from our "http://www.pragmaticprogrammer.com www.pragmaticprogrammer.com website).

But the best part is that you don't need a sweeping mandate to change your whole team or your whole company. You don't need to adopt Extreme Programming or Test-Driven Development, or change your development process in order to reap the proven benefits of unit testing. You can start unit testing, the pragmatic way, right away.

Fler böcker av författarna

Visa alla böcker av Andy Hunt, Dave Thomas
Pragmatic Thinking and Learning: Refactor Your Wetware (häftad)
Practices of an Agile Developer: Working in the Real World (häftad)
Pragmatic Unit Testing in C# with NUnit 2nd Edition (häftad)
Agile Web Development with Rails 4th Edition (häftad)

Pragmatic Thinking and Learning: Refactor Your Wetware

Andy Hunt (häftad)

Practices of an Agile Developer: Working in the Real...

Venkat Subramaniam, Andy Hunt (häftad)

Pragmatic Unit Testing in C# with NUnit 2nd Edition

Andy Hunt, Dave Thomas, Matt Hargett (häftad)

Agile Web Development with Rails 4th Edition

Sam Ruby, Dave Thomas, David Heinemeier Hansson (häftad)
185:- Köp
166:- Köp
166:- Köp
247:- Köp

Kundrecensioner

Bli först med att recensera och betygsätt boken Pragmatic Unit Testing in Java With JUnit - du kan vinna 200 kr varje månad i tävlingen "Månadens recension".

Bloggat om Pragmatic Unit Testing in Java With JUnit

Övrig information

Andy Hunt and Dave Thomas have more than 50 years combined experience, developing software for clients around the world. For the last 10 years they've been working together as The Pragmatic Programmers, helping clients write software and improve their development processes. They are authors of the best-selling The Pragmatic Programmer, and have written several other books. They speak at conferences globally, and are editors of IEEE Software's Construction column.

Innehållsförteckning

Introduction

Your first unit tests

Writing tests in JUnit

What to test: The right BICEP

CORRECT boundary conditions

Using mock objects

Properties of good tests

Testing on a project

Design issues

De som köpt "Pragmatic Unit Testing in Java With JUnit" har även köpt:

Computers in Context (häftad)

Computers in Context

Bo Dahlbom, Lars Mathiassen (häftad)
325:-
Beginning J2ME: From Novice to Professional 3rd Edition (häftad)

Beginning J2ME: From Novice to Professional 3rd Edition

Sing Li, Jonathan Knudsen (häftad)
263:-
Agile Software Development With Scrum Pearson International Edition (häftad)

Agile Software Development With Scrum Pearson Intern...

Ken Schwaber, Mike Beedle (häftad)
440:-
Filthy Rich Clients: Developing Animated & Graphical Effects for Desktop Java Applications (häftad)

Filthy Rich Clients: Developing Animated & Graphical...

Chet Haase, Romain Guy (häftad)
296:-
The Java Tutorial Book/CD Package 4th Edition ()

The Java Tutorial Book/CD Package 4th Edition

Sharon Zakhour, Scott Hommel, Jacob Royal, Isaac Rabinovitch, Tom Risser
315:-
Pragmatic Unit Testing in Java With JUnit (häftad)
  • Titel: Pragmatic Unit Testing in Java With JUnit
  • ISBN: 9780974514017
  • Förlag: THE PRAGMATIC BOOKSHELF
  • Utgivningsland: USA
  • Utgivningsort: Raleigh
  • Medarbetare: Thomas, Dave
  • Illustrationer: Illustrations
  • Upplaga: 1
  • Antal sidor: 152
  • Vikt: 500 g
  • Höjd: 200 mm
  • Antal komponenter: 1
  • Format: Häftad (paperback)