home/categories/testing/aj-geddes-useful-ai-prompts-skills-mocking-stubbing-skill-md
testingtesting-security

mocking-stubbing

Create and manage mocks, stubs, spies, and test doubles for isolating unit tests from external dependencies. Use for mock, stub, spy, test double, Mockito, Jest mocks, and dependency isolation.

aj-geddes
maintainer
aj-geddes
Updated 12/28/2025
Stars
38
Forks
3
quick start

Installation and usage

Create and manage mocks, stubs, spies, and test doubles for isolating unit tests from external dependencies. Use for mock, stub, spy, test double, Mockito, Jest mocks, and dependency isolation.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use mocking-stubbing