Jeff Langr is a veteran software developer with well over three decades experience building software and helping others learn how to do so. Jeff develops software for Outpace Systems, Inc., and still provides help to customers through Langr Software Solutions, Inc. Jeff's prior Pragmatic Bookshelf titles include Agile in a Flash (with Tim Ottinger) and Modern C++ Programming with Test-Driven Development.
Andy Hunt has written and co-written over a half-dozen previous titles, including the classic The Pragmatic Programmer, Practices of an Agile Developer, Pragmatic Thinking & Learning, and Learn to Program with Minecraft Plugins, and regularly speaks at conferences on software development around the world.
Dave Thomas is a programmer who likes to evangelize cool stuff. He cowrote "The Pragmatic Programmer" and was one of the creators of the Agile Manifesto. His book "Programming Ruby" introduced the Ruby language to the world, and "Agile Web Development with Rails" helped kickstart the Rails revolution.
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!
發表於2025-02-03
Pragmatic Unit Testing in Java 8 with JUnit 2025 pdf epub mobi 電子書 下載
這本書的定位是Junit的入門書籍,我用Junit差不多有五年的時間瞭,因此大部分的概念對我而言都並不陌生。我所在的項目組對産品代碼覆蓋率要求非常高,要寫非常多測試代碼來驗證功能。 大概用瞭一下午的時間,快速的翻瞭翻這本書,記瞭些筆記。總體感覺大概就是可以做junit的user...
評分一個高質量的程序離不開測試,一個高質量的java程序更不可能會沒有JUnit測試,此書講解如何通過JUnit來進行測試,闡述瞭單元測試帶來的好處。 個人認為,好的團隊應該堅持為自己寫的代碼添加測試程序。提高程序的質量和團隊成員的勢氣、信心。 最後,值得一讀:)
評分這個可能是到目前為止我看到的最薄的技術書瞭.一本專門講用junit做測試的書籍, 但是又不是純技術的書籍, 裏麵沒有介紹junit如何實現, 也沒有大篇幅的介紹如何使用junit, 或者介紹junit的一些高級用法, 這些統統的沒有, 那麼這本書都講的什麼呢, 它講瞭做單元測試的一些原則, 單...
評分這本書隻有170多頁,讓你能夠在短時間內瞭解如何使用JUnit進行單元測試,而不必啃著大部頭還帶著挫摺感,是學習Junit的首選入門書籍。作者首先告訴你單元測試的重要性,然後手把手教你如何使用Junit進行簡單的單元測試,最後以自己的經驗告訴讀者好的測試應該具有怎樣的品質。...
評分一個高質量的程序離不開測試,一個高質量的java程序更不可能會沒有JUnit測試,此書講解如何通過JUnit來進行測試,闡述瞭單元測試帶來的好處。 個人認為,好的團隊應該堅持為自己寫的代碼添加測試程序。提高程序的質量和團隊成員的勢氣、信心。 最後,值得一讀:)
圖書標籤: JUnit 軟件測試 單元測試 Java test junit java 2016年閱讀記錄
不錯的一本junit入門、提高的書
評分很適閤unit test理論入門,作為碼農,雖寫過不少unit tests,但說test的質量則自己都不能確定,究其原因則是缺乏理論和準則。本書恰如其當的解決瞭筆者的問題,從unit tests的基礎到設計原則侃侃而來,如FIRST、Right-BICEP的總結很方便記憶。
評分可以視作很久之前那本《單元測試之道(Java版)》的第二版,總結瞭許多最新的測試實踐經驗,其中最為經典的就是總結概括瞭單元測試的FIRST,Right-BICEP,CORRECT三大測試原則,但是不推薦完全沒有單元測試經驗和概念的人閱讀,因為此書沒有解釋到底什麼是單元測試這個問題。
評分可以視作很久之前那本《單元測試之道(Java版)》的第二版,總結瞭許多最新的測試實踐經驗,其中最為經典的就是總結概括瞭單元測試的FIRST,Right-BICEP,CORRECT三大測試原則,但是不推薦完全沒有單元測試經驗和概念的人閱讀,因為此書沒有解釋到底什麼是單元測試這個問題。
評分很適閤unit test理論入門,作為碼農,雖寫過不少unit tests,但說test的質量則自己都不能確定,究其原因則是缺乏理論和準則。本書恰如其當的解決瞭筆者的問題,從unit tests的基礎到設計原則侃侃而來,如FIRST、Right-BICEP的總結很方便記憶。
Pragmatic Unit Testing in Java 8 with JUnit 2025 pdf epub mobi 電子書 下載