Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Automated test for the Dataverse Integration

(0) ShareShare
ReportReport
Posted on by 10

Hello,

I created an extension where I added integration (BC - Dataverse ) for our custom tables.
now I have to create the TestApp in order to get our extension to app source.

In order to test the manual sync for example, the connection should be already setup in the Dataverse connection setup table.

I am not supposed to test the standard connection setup or any of the standard code.

That part is already handled in the standard code. (codeunit 139196 "CDS Connection Setup Test" and codeunit 139164 "Library - CRM Integration"..)

all the code is scope onPrem, so I couldn't use the GIVEN parts below. 

[GIVEN] CDSConnectionIsSetup()

[GIVEN] TableAndFieldMappingAreSet()

[Then] CreateCustomTableRecordsAreCreated()

How can I test my integration? Any suggestions?

  • Suggested answer
    YUN ZHU Profile Picture
    86,030 Super User 2025 Season 1 on at
    RE: Automated test for the Dataverse Integration

    Hi, Sorry I haven't tested Dataverse Integration in the test App.

    I would just like to recommend the Yammer Group below, I'm sure the experts there can give you advice.

    (1) Yammer : Dynamics 365 Business Central Development : Test ToolKit : New Conversations

    pastedimage1665020244762v1.png

    Also recommend the following books.

    https://www.packtpub.com/product/automated-testing-in-microsoft-dynamics-365-business-central/9781789804935

    Thanks.

    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans