Test Driven Development for Embedded C (Paperback)
暫譯: 嵌入式 C 的測試驅動開發 (平裝本)
James W. Grenning
- 出版商: Pragmatic Bookshelf
- 出版日期: 2011-05-31
- 售價: $1,400
- 貴賓價: 9.5 折 $1,330
- 語言: 英文
- 頁數: 356
- 裝訂: Paperback
- ISBN: 193435662X
- ISBN-13: 9781934356623
-
相關分類:
C 程式語言、嵌入式系統、TDD 測試導向開發
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
$1,800$1,710 -
$1,750$1,663 -
$1,520$1,444 -
$2,280$2,166 -
$880$695 -
$980$774 -
$800$632 -
$750$495 -
$3,750$3,563 -
$520$406 -
$780$663 -
$450$356 -
$580$452 -
$940$700 -
$480$408 -
$780$616 -
$305圖解機器學習
-
$360$180 -
$474$450 -
$580$452 -
$680$578 -
$1,020$969 -
$708$673 -
$308程序員的數學 第2版
-
$414$393
相關主題
商品描述
Did you write C code last week? Does your code work? Is your design clean? If you answered yes to the first question but got queasy over the second two, you need to know about Test Driven Development. TDD helps you write code that works the first time, and then helps you keep it running as the code evolves to meet new needs.
In Test Driven Development for Embedded C, author James W. Grenning shows embedded software developers how to bring the benefits of TDD to embedded C.
In the book, you'll see how to apply TDD to C and the world of embedded software development. Learn how to break key dependencies, allowing code to be tested thoroughly. Explore how to test-drive your product's core logic, exploiting the power of your development environment to deliver better software.
In fact, as the book shows, you can test-drive a device driver before you even have the device soldered into a circuit board. Avoid the natural delays when testing on the target by using the tailored TDD Microcycle, employing off-target tests and dual-targeted code.
Learn how to make code testable and more flexible, better able to handle the inevitable changes demanded by the market. The tests drive development and then serve as an executable specification, keeping track of the critical details and assumptions baked into the code.
In Test Driven Development for Embedded C, you'll find that TDD is a different way to program-unit tests are written in a tight feedback loop with the production code, producing testable code and greatly reducing wasteful debugging. TDD also influences design. When tests are considered part of design, you create modular and loosely coupled code, the hallmarks of a good design.
With Test Driven Development for Embedded C, C developers-even embedded C developers-can finally write cleaner, testable code with TDD.
商品描述(中文翻譯)
你上週寫了 C 程式碼嗎?你的程式碼運作正常嗎?你的設計乾淨嗎?如果你對第一個問題回答「是」,但對後兩個問題感到不安,那麼你需要了解測試驅動開發(Test Driven Development, TDD)。TDD 幫助你編寫第一次就能運作的程式碼,並在程式碼隨著新需求演變時,幫助你保持其運行。
在《嵌入式 C 的測試驅動開發》中,作者 James W. Grenning 向嵌入式軟體開發人員展示如何將 TDD 的好處帶入嵌入式 C。
在這本書中,你將看到如何將 TDD 應用於 C 及嵌入式軟體開發的世界。學習如何打破關鍵依賴,使程式碼能夠徹底測試。探索如何測試驅動你的產品核心邏輯,利用開發環境的力量來交付更好的軟體。
事實上,正如書中所示,你可以在設備尚未焊接到電路板上之前,就對設備驅動程式進行測試驅動。通過使用量身定制的 TDD 微循環,採用非目標測試和雙目標代碼,避免在目標上測試時的自然延遲。
學習如何使程式碼可測試且更具靈活性,更好地應對市場上不可避免的變化。測試驅動開發促進開發,然後作為可執行的規範,跟蹤程式碼中關鍵的細節和假設。
在《嵌入式 C 的測試驅動開發》中,你會發現 TDD 是一種不同的編程方式——單元測試與生產程式碼在緊密的反饋循環中編寫,產生可測試的程式碼,並大大減少浪費的除錯時間。TDD 也影響設計。當測試被視為設計的一部分時,你會創建模組化和低耦合的程式碼,這是良好設計的標誌。
有了《嵌入式 C 的測試驅動開發》,C 開發人員——甚至嵌入式 C 開發人員——終於可以使用 TDD 編寫更乾淨、可測試的程式碼。