web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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?

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    102,476 Super User 2026 Season 1 on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 707 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 481 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 328 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans