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

Notifications

Announcements

No record found.

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
    95,729 Super User 2025 Season 2 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans