Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Abc-Arbitrage/Abc.MoqComplete
Auto-completion plugin for Moq
https://github.com/Abc-Arbitrage/Abc.MoqComplete
completion csharp moq resharper resharper-plugin rider-plugin
Last synced: 4 days ago
JSON representation
Auto-completion plugin for Moq
- Host: GitHub
- URL: https://github.com/Abc-Arbitrage/Abc.MoqComplete
- Owner: Abc-Arbitrage
- License: mit
- Created: 2019-01-11T10:25:43.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-15T17:06:54.000Z (3 months ago)
- Last Synced: 2024-08-15T19:06:34.290Z (3 months ago)
- Topics: completion, csharp, moq, resharper, resharper-plugin, rider-plugin
- Language: C#
- Size: 1.04 MB
- Stars: 107
- Watchers: 22
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
![Build](https://github.com/Abc-Arbitrage/Abc.MoqComplete/workflows/Build/badge.svg)
# Abc.MoqComplete
MoqComplete is a Resharper plugin which provide auto-completion for the Moq framework (and Moq.AutoMock)
Works with latest Resharper 2022 and Rider (**non EAP**)[
](https://www.jetbrains.com/?from=MoqComplete)# Features
### It.IsAny completion
Suggest `It.IsAny()` when setting up mocked method![](Media/ItIsAny_SetupCompletion.gif)
Suggest `It.IsAny()` when using verify on mocked method
![](Media/ItIsAny_VerifyCompletion.gif)
### Callback Completion
Suggest full `Callback<...>` method![](Media/CallbackCompletion.gif)
### Returns Completion
Suggest full `Returns<...>` method![](Media/ReturnsCompletion.gif)
### Suspicious Callback Detection
Detect suspicious `Callback`![](Media/SuspiciousCallback.gif)
### Mock suggestion
Suggest existing `mock.Object`![](Media/MockCompletion.gif)
Or new `Mock` in constructor
![](Media/MockProposalCompletion.gif)
### Fill with Mock
Fill an object with `Mock` objects (using fields or local variables)![](Media/fillWithMock.gif)
### Mock variable name completion
Suggest the mock variable name![](Media/proposeMockVarName.gif)
# More informations
Please see the [FAQ](https://github.com/Abc-Arbitrage/Abc.MoqComplete/wiki/Frequently-Asked-Questions) before creating an issue.