昨天看到學長開的課終於結束了 心中好是後悔
其實我在課程一開始就跟公司申請要去上這門課
結果卻被拒絕了
原本我有打算就算沒經費 也要自費去上課
不過卻被幾個負面思考打斷了這個念頭
1. 現在用不到
說實話 真的用不到 這套作法要導入我們部門 確實有點窒礙難行
不過 話說回來 即使目前環境用不到 但對我自己來說 一定也是有幫助的
2. 老婆會抗議
因為上課會花掉三個星期六全天的時間 我很感謝平日老婆的辛苦
周末就盡量花時間陪伴家人
...
2014-12-21
2014-12-18
[讀書筆記] Design and Testability

Design and Testability
1. Why should I care about testability in my design?
In a testable design, each logical piece of code (loops, ifs, switches, and so on) should be easy and quick to write a...
2014-11-27
[讀書筆記] The pillars of good tests

[讀書筆記] The pillars of good tests
1. Writing trustworthy tests
2. Writing maintainable tests
[Maintainability]
Nonmaintainable tests are nightmares because they can ruin project schedules, or...
2014-11-06
[讀書筆記] Interaction testing using mock objects

[讀書筆記] Interaction testing using mock objects
[前言]
在前一章Stubs 我們使用了Stub 來打破了Dependency
但是現實上 卻有很多的function是
沒有回傳值
沒有存狀態
針對這些Function該如何測試呢?
答案是 Mock Objects
1.1 Value-based vs. state-based...
2014-11-03
[上課筆記] Think on your feet
Think on your feet
1. What
Think on your feet 著重的焦點是思考
能讓你迅速地理性思考 關鍵在於 "結構"
先打樁 列出要說明的Main Idea
再填入內容
2. Why
2.1 Think on your feet的好處?
幫助你思考清楚
表達想法的三個重點:
Clarity 清晰
清楚地說明 讓人理解
Brevity 簡潔
精準表達
Impact 有力
留下深刻印象
2.2 為什麼要運用計畫?
結構能讓你將一堆資訊變得井然有序
1....
2014-10-23
[讀書筆記] The art of Unit Testing - ch2 - A first unit test

[讀書筆記] A first unit test
2.1 Frameworks for unit testing
Doing things completely manually would be error-prone and time-consuming, and people would defer doing that as much as possible.
手動出錯的機會很大...
2014-10-22
[讀書筆記] The art of Unit Testing - ch1 - The basics of unit testing

[讀書筆記] The basics of unit testing
1.1 Unit Testing - the classic definition
What is the classic definition?
A unit test is a piece of a code (usually a method) that invokes another piece of code and...