testing-test-writing
Write minimal, strategic tests focused on core user flows and critical paths with clear test names, mocked dependencies, and fast execution. Use this skill when creating or editing test files, writing unit tests, integration tests, or end-to-end tests. When testing critical user workflows, core business logic, or primary application features. When working with test files (e.g., `*.test.js`, `*.spec.ts`, `*_test.py`, `*_spec.rb`), test frameworks (Jest, RSpec, pytest, JUnit), or testing utilities. When mocking external dependencies, databases, or APIs in tests.
Installation and usage
Write minimal, strategic tests focused on core user flows and critical paths with clear test names, mocked dependencies, and fast execution. Use this skill when creating or editing test files, writing unit tests, integration tests, or end-to-end tests. When testing critical user workflows, core business logic, or primary application features. When working with test files (e.g., `*.test.js`, `*.spec.ts`, `*_test.py`, `*_spec.rb`), test frameworks (Jest, RSpec, pytest, JUnit), or testing utilities. When mocking external dependencies, databases, or APIs in tests.
安装后,您可以通过在终端运行以下命令来使用此技能:
skills use testing-test-writing