MoqAssist 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package MoqAssist --version 1.0.0
NuGet\Install-Package MoqAssist -Version 1.0.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="MoqAssist" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MoqAssist --version 1.0.0
#r "nuget: MoqAssist, 1.0.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 MoqAssist as a Cake Addin
#addin nuget:?package=MoqAssist&version=1.0.0

// Install MoqAssist as a Cake Tool
#tool nuget:?package=MoqAssist&version=1.0.0

About

MoqAssist is a lightweight and simple mocking assistant used by developers writing unit tests in .NET platforms with Moq library. Basically, the main purpose is to provide developers to write tests more easily and quickly without fighting with details.

What MoqAssist does is that once registering objects (e.g., dependencies or candidate classes for testing) into the dictionary managed by MoqAssistDictionary, MoqAssist automatically builds the constructors of classes by using its dictionary that includes the mocking objects so that a developer does not have to manage the dependencies.

The use of MoqAssist is straightforward as explained in the following;

  • Register the objects wanted to be tested only once via MoqAssistDictionary.
  • Call MoqAssist defining which class will be tested.
  • Ready for testing!

Technologies

  • Dotnet Core - version net5.0 - Used to implement MoqAssist and MoqAssistDictionary
  • Moq - version 4.16.0 - Used for mocking business logics.
  • xUnit - version net5.0 - Used for sample tests.

Contribution

Feel free to contact me for any questions, discussions, or ideas. Send Email

How to contribute

  • Fork the repository
  • Create a feature branch
  • Commit the changes and push the branch
  • Create a new pull request

Authors

License

Distributed under the MIT License. See LICENSE for more information.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • Moq (>= 4.16.0)

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
1.1.0 4,034 2/23/2021
1.0.1 353 2/19/2021
1.0.0 320 2/18/2021