Unit Test path-use JUnit

Source: Internet
Author: User

I borrowed a new book from the library, which is the one written above. It is very good. I recommend it to you!

The second unit test of the programmer's practice trilogy-using JUnit
The pragmatic Starter Kit-Volume II pragmatic unit testing in java with JUnit
[Us] By Andrew hunt David Thomas
Translated by Chen weizhu Tao Wen
Electronic Industry Press

The book describes the importance of unit testing and why unit testing should be used. the second chapter will immediately start a unit test example, so that readers can get started quickly. Next, I will explain in depth JUnit. JUnit will be finished here, because it has nothing to do with itself. All subsequent chapters will show you how to perform unit testing, tools, designs, and techniques.

The whole book is fascinating and has a sense of force majeure, especially in the subsequent sections. It provides a thorough explanation of unit testing. but this does not mean that it has no disadvantages: This book is too thin, and the appendix is only 158 pages (It also sells for 25 yuan, Khan ~), There is always a kind of feeling that it is not pleasant to read. I have been reading it for half a day, but it also shows that the author has already understood the content. There is no nonsense and there is no need to write so many pages.

This set of programmers practice three steps a total of four books:

Article 1: Version Control-use CVS
Second Challenge: unit test path C # version-use nunit
Unit Test-Java version-use JUnit
Trilogy: project automation-how to build, deploy, and monitor Java applications

I wonder if I can borrow other books...

A directory of the book is attached:

Chapter 1 Preface
Chapter 2 your first unit test
Chapter 3 Use JUnit to write a test
Chapter 4 What to test: Right-bicep
Chapter V correct Boundary Conditions
Chapter 6 Use mock objects
Chapter 7 quality of good testing
Chapter 8 testing in the project
Chapter 9 design topics

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.