Write Testthat Tests

为 R 包函数编写全面的 testthat(第 3 版)测试。涵盖测试组织、 断言、固件、模拟、快照测试、参数化测试及高覆盖率的实现。 适用于为新包函数添加测试、提升现有代码的测试覆盖率、为缺陷 修复编写回归测试,或为缺少测试基础设施的包进行搭建。

pjt222 Updated 44 repo stars

File contents

pjt222/agent-almanac commit bea0e0b253

Frequently asked questions

npx get-skill add pjt222/write-testthat-tests-4