Unit tests for Dataverse plugins?

by Jul 16, 2024Shorts

Unit tests for Dataverse plugins?

I must admit, I almost never write unit tests for Dataverse plugins.

Plugins are often quite simple, testing them in isolation is not particularly useful. Often you only test a couple of if-statements.

Unit tests don’t bring a lot of value in these cases.

It is more interesting to test how your plugin performs in the environment where it is being combined with other plugins, workflows, JavaScript and Power Automate flows.

Manual integration testing and extensive logging is often the best way to make sure your plugins work in the target environment.

Do you always unit test your plugins?

Remy van Duijkeren

Remy van Duijkeren

Power Platform Automator

Automation and integration aren’t just what I do—they’re what I do best.

I help businesses work smarter by removing friction, automating what slows them down, and connecting systems that should’ve been talking all along.

 

Get My Thoughts on Automation & Development

Join my personal newsletter and get practical insights on building faster, integrating smarter, and removing friction in IT systems — especially on Power Platform and Dynamics 365.

Related