Unit Testing in Java

How Tests Drive the Code

By Johannes Link, Peter Frölich
Details Elsevier Science & Technology
ISBN 9781558608689
Language English
Choose from
Price 611.00 kr.
Paperback

Not in stock

Print on demand, please allow for 2-3 weeks delivery time.

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.

Basic Techniques: Introduction. Automating Unit Tests. Basic Steps of the Test-First Approach. Test Ideas and Heuristics. The Inner Life of a Test Framework. Dummy and Mock Objects for Independence. Inheritance and Polymorphism. How Much is Enough'. Advanced Topics: Persistant Objects. Concurrent Programs. Distributes Applications. Web Applications. Graphical User Interfaces. The Role of Unit Tests in the Software Process. Loose Ends and Opportunities. Appendix: Notes to JUnit. Unit Tests with Other Programming Languages. Glossary. Bibliography and List of References.