MoqLib.Grpc.Testing.SourceGenerator 1.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package MoqLib.Grpc.Testing.SourceGenerator --version 1.3.0
NuGet\Install-Package MoqLib.Grpc.Testing.SourceGenerator -Version 1.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MoqLib.Grpc.Testing.SourceGenerator" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MoqLib.Grpc.Testing.SourceGenerator --version 1.3.0
#r "nuget: MoqLib.Grpc.Testing.SourceGenerator, 1.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MoqLib.Grpc.Testing.SourceGenerator as a Cake Addin
#addin nuget:?package=MoqLib.Grpc.Testing.SourceGenerator&version=1.3.0

// Install MoqLib.Grpc.Testing.SourceGenerator as a Cake Tool
#tool nuget:?package=MoqLib.Grpc.Testing.SourceGenerator&version=1.3.0

MoqLib.Grpc.Testing.SourceGenerator

This package generates Mock setup methods using Source Generators to make gRPC tests easier. The source code generated makes use of the following dependencies:

Setup

Make sure this packages are added to the test project:

dotnet add package MoqLib.Grpc.Testing.SourceGenerator
dotnet add package Moq
dotnet add package Grpc.Core.Testing
dotnet add package Google.Api.Gax.Grpc.Testing
dotnet add System.Linq.Async

Add Protobuf property like Grpc.Tools recommendations. Example:

<ItemGroup>
    <Protobuf Include="./Protos/orders-service.proto" Link="Protos/orders-service.proto" />
    <Protobuf Include="./Protos/products-service.proto" Link="Protos/products-service.proto" />
</ItemGroup>

Build de project and have fun!

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 1,097 2/15/2023
1.6.0 956 2/15/2023
1.3.0 1,180 2/12/2023