File tree Expand file tree Collapse file tree 6 files changed +17
-7
lines changed Expand file tree Collapse file tree 6 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 9393 </BootstrapperPackage >
9494 </ItemGroup >
9595 <ItemGroup >
96+ <Content Include =" Resources\mocking-helpers.png" >
97+ <CopyToOutputDirectory >Always</CopyToOutputDirectory >
98+ <IncludeInVSIX >true</IncludeInVSIX >
99+ </Content >
96100 <Content Include =" Resources\moq.png" >
97101 <CopyToOutputDirectory >Always</CopyToOutputDirectory >
98102 <IncludeInVSIX >true</IncludeInVSIX >
99103 </Content >
104+ <Content Include =" Resources\nsubstitute.png" />
100105 </ItemGroup >
101106 <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
102- <Import Project =" $(VSToolsPath)\ VSSDK\ Microsoft.VsSDK.targets" Condition =" '$(VSToolsPath)' != '' " />
107+ <Import Project =" ..\..\packages\Microsoft. VSSDK.BuildTools\tools\vssdk\ Microsoft.VsSDK.targets" Condition =" Exists('..\..\packages\Microsoft.VSSDK.BuildTools\tools\vssdk\Microsoft.VsSDK.targets') " Label = " Paket " />
103108 <Import Project =" ..\..\packages\Microsoft.VSSDK.BuildTools\build\Microsoft.VSSDK.BuildTools.targets" Condition =" Exists('..\..\packages\Microsoft.VSSDK.BuildTools\build\Microsoft.VSSDK.BuildTools.targets')" Label =" Paket" />
104109</Project >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<PackageManifest Version =" 2.0.0" xmlns =" http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns : d =" http://schemas.microsoft.com/developer/vsx-schema-design/2011" >
33 <Metadata >
4- <Identity Id =" Mocking.Helpers..9e3b8d25-be45-4b82-9e8d-eeceadcc1af3 " Version =" 1.0.0.0" Language =" en-US" Publisher =" MrLuje" />
4+ <Identity Id =" Mocking.Helpers.DC82BF19-0482-4D47-A1FF-7F4CBBAA44D4 " Version =" 1.0.0.0" Language =" en-US" Publisher =" MrLuje" />
55 <DisplayName >Mocking.Helpers</DisplayName >
66 <Description xml : space =" preserve" >Collection of features to help working with various mocking framework</Description >
77 <MoreInfo >https://github.com/MrLuje/Mocking.Helpers</MoreInfo >
8+ <Icon >Resources\mocking-helpers.png</Icon >
89 <PreviewImage >Resources\moq.png</PreviewImage >
9- <Tags >mocking roslyn moq</Tags >
10+ <Tags >mocking roslyn moq nsubstitute </Tags >
1011 </Metadata >
1112 <Installation >
1213 <InstallationTarget Id =" Microsoft.VisualStudio.Community" Version =" [15.0,16.0)" />
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ static internal IEnumerable<IMethodSymbol> GetCandidatesMockedMethodSignatures(S
6666 var mockSignatures = new List < IMethodSymbol > ( ) ;
6767 var symbolInfo = semanticModel . GetSymbolInfo ( methodToMock ) ;
6868
69- // not what are searching but still a method
69+ // not what we are searching but still a method
7070 if ( symbolInfo . CandidateReason == CandidateReason . None && symbolInfo . Symbol is IMethodSymbol methodSymbol )
7171 {
7272 mockSignatures . Add ( methodSymbol ) ;
Original file line number Diff line number Diff line change 55Helpers for .net mocking frameworks as a Visual Studio 2017 extension
66
77## Moq
8- Support autocompletion of _ Setup_ method
9-
8+ Support autocompletion of _ It.IsAny _ in _ Setup_ method
9+ ![ moq ] ( Mocking.Helpers/Mocking.Helpers.Vsix/Resources/moq.png )
1010
11+ ## NSubstitute
12+ Support autocompletion of _ Arg.Any_ in _ For_ method
13+ ![ moq] ( Mocking.Helpers/Mocking.Helpers.Vsix/Resources/nsubstitute.png )
1114
1215## Troubleshooting
1316This extension relies on [ Roslyn] ( https://github.com/dotnet/roslyn ) for type/methods parsing.
14- It will not work if Visual Studio is configured to used another completion mechanism than Intellisense (eg: R#)
17+
18+ It will not work if Visual Studio is configured to used another completion mechanism than Intellisense (e.g. R#)
You can’t perform that action at this time.
0 commit comments