pub fn status_to( writer: &mut impl Write, repo_path: &Path, c: &Contract, ) -> Result<()>
按 scope 输出测试状态,写入任意 writer。