Write testthat Tests
Claude skill for Write testthat Tests
LLM Evaluation
Evaluated by: xiaomi/mimo-v2-flash:free
Last evaluated: March 29, 2026
Prompt Preview
---
name: write-testthat-tests
description: >
Write comprehensive testthat (edition 3) tests for R package functions.
Covers test organization, expectations, fixtures, mocking, snapshot
tests, parameterized tests, and achieving high coverage. Use when adding
tests for new package functions, increasing test coverage for existing
code, writing regression tests for bug fixes, or setting up test
infrastructure for a package that lacks it.
license: MIT
allowed-tools: Read Write...
Full prompt length: 9411 characters