MoqAssist 1.0.0
See the version list below for details.
dotnet add package MoqAssist --version 1.0.0
NuGet\Install-Package MoqAssist -Version 1.0.0
<PackageReference Include="MoqAssist" Version="1.0.0" />
paket add MoqAssist --version 1.0.0
#r "nuget: MoqAssist, 1.0.0"
// 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 | Versions 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. |
-
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.