Magnus Gether Sørensen – Debug and test plugins, workflows, and security locally! – YouTube

Scottish SummitYouTube4 years ago190 Views

“Want to be able to debug your plugin code and forget all about plugin-traces? Want to be able to create tests which can validate that your implemented business logic works as intended – including what you wrote several years ago? XrmMockup is a test-framework that can simulate your D365 environment locally, along with any plugin and workflow code you have.

I will be going through how to set up XrmMockup, how it works and what exactly it is capable of. With XrmMockup you can perform unit- and integration tests of your D365 pipeline. XrmMockup automatically runs plugins and workflows in the right order, even automatically triggering other plugins and workflows. At the same time, the security model of D365 is enforced just as it would be in your live D365 system.

XrmMockup will provide your tests with an organization service. Using this, your tests can query XrmMockup with any organization request – just like your live D365 system. This means all your business logic is run locally which allows you, as a developer, to set breakpoints and debug your business logic – instead of looking at traces in D365.

I will showcase XrmMockup by implementing some simple business logic using test driven development.


source

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Top Headlines
    Join Us
    • X Network2.1K
    • LinkedIn3.8k
    • Bluesky0.5K
    Support The Site
    Events
    November 2025
    MTWTFSS
          1 2
    3 4 5 6 7 8 9
    10 11 12 13 14 15 16
    17 18 19 20 21 22 23
    24 25 26 27 28 29 30
    « Oct   Dec »
    Follow
    Search
    Popular Now
    Loading

    Signing-in 3 seconds...

    Signing-up 3 seconds...