Giter VIP home page Giter VIP logo

michal-turzynski / fake-xrm-easy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jordimontana82/fake-xrm-easy

0.0 1.0 0.0 15.11 MB

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

Home Page: https://dynamicsvalue.com/get-started/overview?source=git

License: Other

C# 79.22% PowerShell 0.01% Batchfile 0.01% F# 0.08% HTML 20.69%

fake-xrm-easy's Introduction

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.

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.

Donate

  • If you're a business / company who delivers solutions on top of the Power Platform, you can help make OSS sustainable while getting more visibility by becoming a sponsor. Please reach out to me for sponsorship enquiries.

Roadmap

  • 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

fake-xrm-easy's People

Contributors

aleksandrrogov avatar amolotkov avatar arjenst avatar betimbeja avatar bwmodular avatar camelcasedave avatar chuckmag avatar ckl-bso avatar energy164 avatar fallasd avatar iggsn avatar jmontanaepa avatar jordimontana82 avatar kraviecc avatar mivra avatar mrjamiebowman avatar npavlov avatar pedropaulovc avatar phuocle avatar piotr-domanski avatar rajyraman avatar rbnswartz avatar scubaracer avatar sejoslawmobile avatar shpetimhysenaj avatar slahn avatar smackodale avatar synesthesia avatar teppolainio avatar vjain90 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.