All Projects → jordimontana82 → Fake Xrm Easy

jordimontana82 / Fake Xrm Easy

Licence: other
The testing framework for Dynamics CRM and Dynamics 365 which runs on an In-Memory context and deals with mocks or fakes for you

Projects that are alternatives of or similar to Fake Xrm Easy

Unit Threaded
Advanced unit test framework for D
Stars: ✭ 100 (-53.7%)
Mutual labels:  mock, mocking, unittest
umock-c
A pure C mocking library
Stars: ✭ 29 (-86.57%)
Mutual labels:  mock, mocking, mocking-framework
Http Fake Backend
Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Stars: ✭ 253 (+17.13%)
Mutual labels:  fake, mock, mocking
Ts Auto Mock
Typescript transformer to unlock automatic mock creation for interfaces and classes
Stars: ✭ 204 (-5.56%)
Mutual labels:  fake, mock, mocking
Mockito
Most popular Mocking framework for unit tests written in Java
Stars: ✭ 12,453 (+5665.28%)
Mutual labels:  mock, mocking, mocking-framework
better-mock
Forked from Mockjs, Generate random data & Intercept ajax request. Support miniprogram.
Stars: ✭ 140 (-35.19%)
Mutual labels:  mock, fake, mocking
Mockaco
🐵 HTTP mock server, useful to stub services and simulate dynamic API responses, leveraging ASP.NET Core features, built-in fake data generation and pure C# scripting
Stars: ✭ 213 (-1.39%)
Mutual labels:  mock, fake, mocking
Msw
Seamless REST/GraphQL API mocking library for browser and Node.js.
Stars: ✭ 7,830 (+3525%)
Mutual labels:  mock, mocking, mocking-framework
Mimic
Seamless client side mocking
Stars: ✭ 380 (+75.93%)
Mutual labels:  mock, mocking, mocking-framework
Mockolo
Efficient Mock Generator for Swift
Stars: ✭ 327 (+51.39%)
Mutual labels:  mock, mocking, mocking-framework
Kakapo.js
🐦 Next generation mocking framework in Javascript
Stars: ✭ 535 (+147.69%)
Mutual labels:  mock, mocking, mocking-framework
Generator Http Fake Backend
Yeoman generator for building a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Stars: ✭ 49 (-77.31%)
Mutual labels:  fake, mock, mocking
Mockery
Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).
Stars: ✭ 10,048 (+4551.85%)
Mutual labels:  mock, mocking
Prig
Prig is a lightweight framework for test indirections in .NET Framework.
Stars: ✭ 106 (-50.93%)
Mutual labels:  mock, mocking
Really Need
Node require wrapper with options for cache busting, pre- and post-processing
Stars: ✭ 108 (-50%)
Mutual labels:  mock, mocking
Parrot
✨ Scenario-based HTTP mocking
Stars: ✭ 109 (-49.54%)
Mutual labels:  mock, mocking
Nsubstitute
A friendly substitute for .NET mocking libraries.
Stars: ✭ 1,646 (+662.04%)
Mutual labels:  mock, mocking
Spy
Clojure/ClojureScript library for stubs, spies and mocks.
Stars: ✭ 131 (-39.35%)
Mutual labels:  mock, mocking
Duckrails
Development tool to mock API endpoints quickly and easily (docker image available)
Stars: ✭ 1,690 (+682.41%)
Mutual labels:  mock, mocking
Impersonator
Ruby library to record and replay object interactions
Stars: ✭ 100 (-53.7%)
Mutual labels:  fake, mock

Fake Xrm Easy: TDD for Dynamics CRM and Dynamics 365 (or now Common Data Service for Apps) made simple

Build Line Coverage Branch Coverage
Build status Line coverage Branch coverage

Streamline unit testing in Dynamics CRM by faking the IOrganizationService to work with an in-memory context.

Drive your development by unit testing any plugin, code activity, or 3rd party app using the OrganizationService easier and faster than ever before.

Note: To keep up to date with client-side unit testing version of this framework, please have a look at this repo and samples in this other sample code repo

Version Package Name NuGet
Dynamics v9 (>= 9.x) FakeXrmEasy.9 Nuget
Dynamics 365 (8.2.x) FakeXrmEasy.365 Nuget
Dynamics CRM 2016 ( >= 8.0 && <= 8.1) FakeXrmEasy.2016 Nuget
Dynamics CRM 2015 (7.x) FakeXrmEasy.2015 Nuget
Dynamics CRM 2013 (6.x) FakeXrmEasy.2013 Nuget
Dynamics CRM 2011 (5.x) FakeXrmEasy Nuget

Supports Dynamics CRM 2011, 2013, 2015, 2016, and Dynamics 365 (8.x and 9.x). NOTE: With the release of Dynamics 365 v9 we are changing the naming convention for new packages to match the major version.

Semantic Versioning

The NuGet packages use semantic versioning like this:

x.y.z  => Major.Minor.Patch

x: stands for the major version. The package is very stable so that's why the major version didn't change yet.

y: minor version. Any minor updates add new functionality without breaking changes. An example of these would be a new operator or a new fake message executor.

z: patch. Any update to this number means new bug fixes for the existing functionality. A new minor version might also include bug fixes too.

Support

We believe in sustainable Open Source. The software is MIT licensed and provided to you for free but we encourage you (and by you, we mean the whole community) to extend it / improve it by yourselves, of course, with help from us.

In programming terms:

Free Open Source !== Free Support. 

If you're a business entity who delivers solutions on top of the Power Platform and are using this project already, you can help make OSS sustainable while getting more visibility by becoming a sponsor. Please reach out to me for sponsorship enquiries and to contribute and give back to this project.

If you're an individual, feel free to check the Sponsorship tiers, any help is welcome and greatly appreciated.

For contributing, please see section below.

Contributing

Please consider the below guidelines for contributing to the project:

  • Priority: Given the overwhelming number of issues and pull requests, we'll review Pull Requests first, then any outstanding issues. We encourage you to resolve / extend issues by yourselves, as a community, and we'll prioritise those first because we know (as mantainers) the effort it takes.

    Please do fork the project and submit a pull request

    We'll thank you forever and ever.

    If you don't know how to resolve something or are not familiar with pull requests, don't worry, raise the issue anyway. Those will be revised next.

  • When raising an issue:

    • Please provide a sample unit test to reproduce any issues detected where possible. This will speed up the resolution.
    • Attach all generated early bound typed entities required (if you're using early bound).
  • If you're using the framework, please do Star the project, it'll give more visibility to the wider community to keep extending and improving it.

Roadmap

  • TODO: We're working on a v2.x of this package which targets .net core. That new version has been developed for the last couple of months, and we're VERY close to make it public. In the meantime, PRs and issues will be on hold for the time being to keep track of "where we are" in order to be merged into both versions 1.x and 2.x. More info here

  • TODO: Add support for date operators. See ConditionOperator implementation status here. Feel free to add missing ones!

  • TODO: Implement remaining CRM messages. To know which ones have been implemented so far, see FakeMessageExecutor implementation status here.

  • TODO: Increase test coverage.

  • NEW! I'm planning a 2.x version, this version will contain all the major improvements I always thought of adding but that will introduce considerable breaking changes. If you want to join a private preview list, let me know.

Tests disappeared?

Try deleting anything under the VS test explorer cache: %Temp%\VisualStudioTestExplorerExtensions

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].