dotnet-testing-nsubstitute-mocking
協助使用 NSubstitute 建立測試替身(Test Double),包含 Mock、Stub、Spy。當使用者需要隔離外部相依、模擬介面行為、驗證方法呼叫、測試相依注入,或需要建立假物件時,請使用此技能。
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Features and purpose
協助使用 NSubstitute 建立測試替身(Test Double),包含 Mock、Stub、Spy。當使用者需要隔離外部相依、模擬介面行為、驗證方法呼叫、測試相依注入,或需要建立假物件時,請使用此技能。
Quick start
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
Guides ↗Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-25
- Index updated
- 2026-03-06
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!