rstest-best-practices

安装量: 679
排名: #9667

安装

npx skills add https://github.com/rstackjs/agent-skills --skill rstest-best-practices

Rstest Best Practices Apply these rules when writing or reviewing Rstest test projects. Configuration Use rstest.config.ts and defineConfig from @rstest/core Prefer explicit imports import { test, expect, describe } from '@rstest/core' over globals: true For Rsbuild projects, use @rstest/adapter-rsbuild with extends: withRsbuildConfig() to reuse build config For Rslib projects, use @rstest/adapter-rslib with extends: withRslibConfig() to reuse build config Use setupFiles for shared test setup (e.g., custom matchers, cleanup hooks) When using Rsbuild plugins (e.g., @rsbuild/plugin-react ), add them via the plugins field For deep-level or advanced build configuration needs, use tools.rspack or tools.bundlerChain CLI Show more Installs 618 Repository rstackjs/agent-skills GitHub Stars 80 First Seen Mar 16, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass

返回排行榜