20121031 Jill
From OO Lab
Progress Check
- show the report of the replay stage
- read three paper
- Carving and Replaying Differential Unit Test Cases from System Test Cases
- (擷取system test and unit test的優點)從system test case產生Differential Unit Test Case來進行測試
- Selective Capture and Replay of Program Executions
- (插入程式碼)紀錄observed class和unobserved code之間的互動作為eventlog,利用此log進行replay
- Automatic Test Factoring for Java
- 介紹algorithm從既有的code產生mock,利用transcript驗證method的行為,以達到模擬真實環境的效果
- Carving and Replaying Differential Unit Test Cases from System Test Cases
Meeting Log
- 希望能在下下周可以交CRUnit給學弟妹進行testing的動作
Research
- 明確的目標:希望能藉由目前的system test case來產生unit test case,看是不是能用在既有的system ex.DIVA上
- 大致上大概就是讓system test case(可能有多個system test case) run過某個CUT,攔截所有通過這個CUT的input and output(information),來製作unit test
- 可能遇到的問題
- 要如何assert?
- 如果fail的話要如何debug? 是不是必須追蹤整個system test case?
- 若parameter是物件的話要怎麼辦? (很難重現當時的object狀態)
- 產生出來的unit test會很難去debug(若是經由tool產生的話)