DODD
三种模式:Run、Replay、Watch。
用 CLI 包裹命令,或让 Watch 长期监听日志文件。
Run
dist/dodd run -- go test ./...
Replay
dist/dodd replay --log logs/failure.log --command "go test ./..."
Watch
dist/dodd watch --once --from-start
Config
{
"watch": {
"sources": [
{ "type": "file", "path": "logs/app.log", "command": "go test ./..." }
]
}
}