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...
Unanswered

the need to test in a database with good data element to AL really complicates how you would normally test a feature or bug fix with Git

(0) ShareShare
ReportReport
Posted on by 20

Currently in C/AL, we have a Dev DB and a Live DB.  Developers and Testers code and test in Dev.  If careful, multiple developers can be coding is separate objects, testers can test and then move those objects to Live.  Yes, I know there are dangers but again if careful, developers can be working on different areas of the code that can be developed, tested, and deployed independently of each other.

I understand that the way to do that with GIT would be something like this.  Each developer would create a branch, and develop and test in that branch. Testers may test in that branch as well.  Once satisfied, developers will do a Pull Request back into the Main branch and then when it’s time either create a Release Branch and deploy to live from that or deploy to live right from the main branch.

So my question is with AL, how do you test with the databases.  The Dev DB has all the Data setup to test with.  We can’t just use Cronus data.  If a developer creates a branch, and then publishes to the Dev DB.  And then another developer creates a branch and publishes to the same Dev DB, they will be overwriting the first developer’s changes in that DB.  So it would appear that each developer would need their own DB to test with.  But then how do you synchronize the data setups in those DB’s?  

I know I can create multiple extensions but that causes different issues. 

Anyway, it seems that the “need to test in a database with good data” element to AL really complicates how you would normally test a feature or bug fix with Git, before merging it back to the main branch to be deployed.  Am I missing something?  Is there a better way of doing this?

I have the same question (0)

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,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans