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                
#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                

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:
  1. Download the NuGet package from the nuget.org
  2. Install the NuGet package in your project
Manual installation:
git clone https://github.com/AetherFlowDev/FakeXrmEasy.git

Build the solution in Visual Studio:

  1. Open AetherFlow.FakeXrmEasy.Plugins.sln
  2. Build the solution

Usage

  1. Create a test project in your solution.
  2. Add references to the FakeXrmEasy library.
  3. 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

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

For more details, visit the GitHub repository.

Product 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.

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