買這商品的人也買了...
-
$613Perl for System Administration (Paperback)
-
$1,078Perl How to Program (IE-Paperback)
-
$450$383 -
$590$466 -
$1,548Core Servlets and JavaServer Pages, Vol. 1: Core Technologies, 2/e
-
$680Microsoft Office 2003 Step by Step
-
$2,340$2,223 -
$750$593 -
$650$553 -
$650$507 -
$550$468 -
$399$339 -
$480$432 -
$620$527 -
$880$792 -
$1,120$1,098 -
$550$523 -
$880$581 -
$680$578 -
$390$332 -
$1,840$1,748 -
$390$351 -
$550$495 -
$600$480 -
$250$198
相關主題
商品描述
Description:
Is there any sexier topic in software development than software testing? That is, besides game programming, 3D graphics, audio, high-performance clustering, cool websites, et cetera? Okay, so software testing is low on the list. And that's unfortunate, because good software testing can increase your productivity, improve your designs, raise your quality, ease your maintenance burdens, and help to satisfy your customers, coworkers, and managers.
Perl has a strong history of automated tests. A very early release of Perl 1.0 included a comprehensive test suite, and it's only improved from there. Learning how Perl's test tools work and how to put them together to solve all sorts of previously intractable problems can make you a better programmer in general. Besides, it's easy to use the Perl tools described to handle all sorts of testing problems that you may encounter, even in other languages.Like all titles in O'Reilly's Developer's Notebook series, this "all lab, no lecture" book skips the boring prose and focuses instead on a series of exercises that speak to you instead of at you.
Perl Testing: A Developer's Notebook will help you dive right in and:
- Write basic Perl tests with ease and interpret the results
- Apply special techniques and modules to improve your tests
- Bundle test suites along with projects
- Test databases and their data
- Test websites and web projects
- Use the "Test Anything Protocol" which tests projects written in languages other than Perl
With today's increased workloads and short development cycles, unit tests are more vital to building robust, high-quality software than ever before. Once mastered, these lessons will help you ensure low-level code correctness, reduce software development cycle time, and ease maintenance burdens.You don't have to be a die-hard free and open source software developer who lives, breathes, and dreams Perl to use this book. You just have to want to do your job a little bit better.
Table of Contents:
The Developer's Notebook Series
Preface
Chapter 1. Beginning Testing
Installing Test Modules
Running Tests
Interpreting Test Results
Writing Your First Test
Loading Modules
Improving Test ComparisonsChapter 2. Writing Tests
Skipping Tests
Skipping All Tests
Marking Tests as TODO
Simple Data Structure Equality
Data Composition
Testing Warnings
Testing Exceptions
Chapter 3. Managing Tests
Organizing Tests
Checking Your Coverage
Writing a Testing Library
Testing a Testing Library
Writing a Testing Harness
Testing Across the Network
Automating Test Runs
Chapter 4. Distributing Your Tests (and Code)
Testing POD Files
Testing Documentation Coverage
Distribution Signatures
Testing Entire Distributions
Letting the User Decide
Letting the User Decide (Continued)
Bundling Tests with Modules
Collecting Test Results
Validating Kwalitee
Chapter 5. Testing Untestable Code
Overriding Built-ins
Mocking Modules
Mocking Objects
Partially Mocking Objects
Overriding Live Code
Overriding Operators Everywhere
Chapter 6. Testing Databases
Shipping Test Databases
Testing Database Data
Using Temporary Databases
Mocking Databases
Chapter 7. Testing Web Sites
Testing Your Backend
Testing Your Frontend
Record and Play Back Browsing Sessions
Testing the Validity of HTML
Running Your Own Apache Server
Testing with Apache-Test
Distributing Modules with Apache-Test
Chapter 8. Unit Testing with Test::Class
Writing Test Cases
Creating Test Fixtures
Inheriting Tests
Skipping Tests with Test::Class
Marking Tests as TODO with Test::Class
Chapter 9. Testing Everything Else
Writing Testable Programs
Testing Programs
Testing Interactive Programs
Testing Shared Libraries
Index
商品描述(中文翻譯)
描述:
軟體開發中有什麼比軟體測試更吸引人的話題呢?當然還有遊戲編程、3D圖形、音頻、高性能集群、酷炫的網站等等。好吧,軟體測試在這個列表中排名較低。這是不幸的,因為良好的軟體測試可以提高生產力,改進設計,提高質量,減輕維護負擔,並有助於滿足客戶、同事和管理者的需求。
Perl在自動化測試方面有著豐富的歷史。早期的Perl 1.0版本就包含了一套全面的測試套件,並且從那時起一直在不斷改進。學習Perl的測試工具如何工作,以及如何結合它們來解決各種以前棘手的問題,可以使你成為一個更好的程序員。此外,使用Perl工具可以輕鬆處理各種測試問題,即使是在其他語言中也可以。
像O'Reilly的開發者筆記本系列中的所有書籍一樣,這本“全實驗室,無講義”的書籍跳過了無聊的散文,而是專注於一系列的練習,與你對話而不是對你講話。
《Perl測試:開發者筆記本》將幫助你立即入門,並且可以:
- 輕鬆編寫基本的Perl測試並解讀結果
- 應用特殊技術和模組來改進測試
- 將測試套件與項目捆綁在一起
- 測試數據庫及其數據
- 測試網站和網絡項目
- 使用“測試任何協議”來測試使用Perl以外的語言編寫的項目
在今天工作量增加且開發週期縮短的情況下,單元測試對於構建堅固、高質量的軟體比以往任何時候都更加重要。一旦掌握了這些技巧,將有助於確保低層次的代碼正確性,減少軟體開發週期時間,並減輕維護負擔。
你不必成為一個全情投入的自由和開源軟體開發者,對Perl情有獨鍾,才能使用這本書。你只需要想要把工作做得更好一點。
目錄:
- 開發者筆記本系列
- 前言
- 第1章. 開始測試
- 第2章. 編寫測試