Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Unit Testing in Java: How Tests Drive the Code
Unit Testing in Java: How Tests Drive the Code
Unit Testing in Java: How Tests Drive the Code
Ebook620 pages

Unit Testing in Java: How Tests Drive the Code

Rating: 3.5 out of 5 stars

3.5/5

()

Read preview

About this ebook

Software testing is indispensable and is one of the most discussed topics in software development today. Many companies address this issue by assigning a dedicated software testing phase towards the end of their development cycle. However, quality cannot be tested into a buggy application. Early and continuous unit testing has been shown to be crucial for high quality software and low defect rates. Yet current books on testing ignore the developer's point of view and give little guidance on how to bring the overwhelming amount of testing theory into practice. Unit Testing in Java represents a practical introduction to unit testing for software developers. It introduces the basic test-first approach and then discusses a large number of special issues and problem cases. The book instructs developers through each step and motivates them to explore further.
  • Shows how the discovery and avoidance of software errors is a demanding and creative activity in its own right and can build confidence early in a project.
  • Demonstrates how automated tests can detect the unwanted effects of small changes in code within the entire system.
  • Discusses how testing works with persistency, concurrency, distribution, and web applications.
  • Includes a discussion of testing with C++ and Smalltalk.
LanguageEnglish
Release dateJun 10, 2003
ISBN9780080520179
Unit Testing in Java: How Tests Drive the Code
Author

Johannes Link

For 4 years Johannes Link has been project manager and software developer at andrena objects ag in Karlsruhe, Germany. He came to andrena after years of practical software engineering research at the German Cancer Research Center and the German ABB Corporate Research Center. Johannes is responsible for andrena's internal and external training activities and has published articles on software testing and software development. He holds a diploma degree in medical computer science from Heidelberg University.

Related to Unit Testing in Java

Programming For You

View More

Reviews for Unit Testing in Java

Rating: 3.6666667 out of 5 stars
3.5/5

3 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Unit Testing in Java - Johannes Link

    (_book_preview_excerpt.html}ˎG8"CȤKJ)԰pw#Q+fV`=@}ɜs5sn4d}07o.㟊M͊e%|eO o/_n&yVgw>iW>yZހʕ+ $/6 YYfe$mƷN^U+ 2ju?r  ,bUgw*[%W5;=~_?xZV:[/oz~~SKsqu\_&O\]*oKX$8LAr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