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.
- Simplified unit testing for Dataverse plugins
- Support for early-bound and late-bound entities
- Easy setup and configuration
- .NET Framework 4.6.2 or later
- Visual Studio 2019 or later
- Download the NuGet package from the nuget.org
- Install the NuGet package in your project
git clone https://github.com/AetherFlowDev/FakeXrmEasy.git
Build the solution in Visual Studio:
- Open
AetherFlow.FakeXrmEasy.Plugins.sln
- Build the solution
- Create a test project in your solution.
- Add references to the
FakeXrmEasy
library. - Write unit tests for your plugins.
[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
}
}
- 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.
This project is licensed under the MIT License. See the LICENSE file for details.
- Jordi Montana for the original FakeXrmEasy framework.
For more details, visit the GitHub repository.