AetherFlow.FakeXrmEasy.Plugins
1.0.0-rc
This is a prerelease version of AetherFlow.FakeXrmEasy.Plugins.
dotnet add package AetherFlow.FakeXrmEasy.Plugins --version 1.0.0-rc
NuGet\Install-Package AetherFlow.FakeXrmEasy.Plugins -Version 1.0.0-rc
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="AetherFlow.FakeXrmEasy.Plugins" Version="1.0.0-rc" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AetherFlow.FakeXrmEasy.Plugins --version 1.0.0-rc
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AetherFlow.FakeXrmEasy.Plugins, 1.0.0-rc"
#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 AetherFlow.FakeXrmEasy.Plugins as a Cake Addin #addin nuget:?package=AetherFlow.FakeXrmEasy.Plugins&version=1.0.0-rc&prerelease // Install AetherFlow.FakeXrmEasy.Plugins as a Cake Tool #tool nuget:?package=AetherFlow.FakeXrmEasy.Plugins&version=1.0.0-rc&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FakeXrmEasy for AetherFlow
Overview
FakeXrmEasy for AetherFlow is a forked version of FakeXrmEasy by Jordi Montana, tailored specifically for AetherFlow's needs. It is a framework for developing and testing plugins for Microsoft Dataverse in a simplified manner.
Features
- Simplified unit testing for Dataverse plugins
- Support for early-bound and late-bound entities
- Easy setup and configuration
Getting Started
Prerequisites
- .NET Framework 4.6.2 or later
- Visual Studio 2019 or later
Installation
Use the NuGet package:
- Download the NuGet package from the nuget.org
- Install the NuGet package in your project
Manual installation:
git clone https://github.com/AetherFlowDev/FakeXrmEasy.git
Build the solution in Visual Studio:
- Open
AetherFlow.FakeXrmEasy.Plugins.sln
- Build the solution
Usage
- Create a test project in your solution.
- Add references to the
FakeXrmEasy
library. - Write unit tests for your plugins.
Example Test
[TestClass]
public class MyPluginTests
{
[TestMethod]
public void TestPluginExecution()
{
var context = new XrmFakedContext();
var plugin = new MyPlugin();
// Setup context and entities
context.ExecutePluginWith<MyPlugin>(pluginContext);
// Assert results
}
}
Contributing
- Fork the repository.
- Create your feature branch (
git checkout -b feature/AmazingFeature
). - Commit your changes (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a Pull Request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Acknowledgements
- Jordi Montana for the original FakeXrmEasy framework.
For more details, visit the GitHub repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.6.2
- FakeItEasy (>= 8.3.0)
- Microsoft.CrmSdk.CoreAssemblies (>= 9.0.2.52)
- Microsoft.CrmSdk.Workflow (>= 9.0.2.52)
- Microsoft.CrmSdk.XrmTooling.CoreAssembly (>= 9.1.1.65)
- Microsoft.CSharp (>= 4.7.0)
- System.Data.DataSetExtensions (>= 4.5.0)
- System.DirectoryServices (>= 8.0.0)
- System.DirectoryServices.AccountManagement (>= 8.0.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.0.0-rc | 80 | 7/24/2024 |