Pragmatic Unit Testing in Java 8 with JUnit

豆瓣
Pragmatic Unit Testing in Java 8 with JUnit

登录后可管理标记收藏。

ISBN: 9781941222591
作者: Jeff Langr / Andy Hunt / Dave Thomas
出版社: Pragmatic Bookshelf
发行时间: 2015 -3
丛书: The Pragmatic Starter Kit
装订: Paperback
价格: USD 24.86
页数: 200

/ 10

0 个评分

评分人数不足
借阅或购买

Jeff Langr / Andy Hunt   

简介

The Pragmatic Programmers classic is back! Freshly updated for modern software development, Pragmatic Unit Testing in Java 8 With JUnit teaches you how to write and run easily maintained unit tests in JUnit with confidence. You'll learn mnemonics to help you know what tests to write, how to remember all the boundary conditions, and what the qualities of a good test are. You'll see how unit tests can pay off by allowing you to keep your system code clean, and you'll learn how to handle the stuff that seems too tough to test.
Pragmatic Unit Testing in Java 8 With JUnit steps you through all the important unit testing topics. If you've never written a unit test, you'll see screen shots from Eclipse, IntelliJ IDEA, and NetBeans that will help you get past the hard part--getting set up and started.
Once past the basics, you'll learn why you want to write unit tests and how to effectively use JUnit. But the meaty part of the book is its collected unit testing wisdom from people who've been there, done that on production systems for at least 15 years: veteran author and developer Jeff Langr, building on the wisdom of Pragmatic Programmers Andy Hunt and Dave Thomas. You'll learn:
How to craft your unit tests to minimize your effort in maintaining them.
How to use unit tests to help keep your system clean.
How to test the tough stuff.
Memorable mnemonics to help you remember what's important when writing unit tests.
How to help your team reap and sustain the benefits of unit testing.
You won't just learn about unit testing in theory--you'll work through numerous code examples. When it comes to programming, hands-on is the only way to learn!

目录

Part I — Unit-Testing Foundations
1. Building Your First JUnit Test
2. Getting Real with JUnit
3. Digging Deeper into JUnit Assertions
4. Organizing Your Tests
Part II — Mastering Manic Mnemonics!
5. FIRST Properties of Good Tests
6. What to Test: The Right-BICEP
7. Boundary Conditions: The CORRECT Way
Part III — The Bigger Design Picture
8. Refactoring to Cleaner Code
9. Bigger Design Issues
10. Using Mock Objects
11. Refactoring Tests
Part IV — The Bigger Unit-Testing Picture
12. Test-Driven Development
13. Testing Some Tough Stuff
14. Testing on a Project

A1. Setting Up JUnit in IntelliJ IDEA and NetBeans
Index

其它版本 (2)
短评
评论
笔记