Running tests on Business Central 16.0

Update 2021/2/10: Microsoft stopped creating images for Docker in the summer of 2020. We now publish artifacts, which can be used to spin up containers and BcContainerHelper has replaced NavContainerHelper. This blog post reflects the old way of using NAV/BC on Docker and references NavContainerHelper, which is outdated.

On April 1st, we shipped Microsoft Dynamics 365 Business Central 2020 Wave 1. It is a great release with a lot of exciting new features, which I will leave to others to write about and describe.

I will instead write about a small issue on the 19 local 16.0 DVDs you can download. They all contain test framework apps and our Microsoft test apps which ships for W1.

Yes, you read it right. The local test apps wasn’t included on to the DVDs, meaning that when you try to create a container with -includeTestToolkit, then it will fail in some of the local versions, but you also won’t be able to download the DVD and make it work for you.

Breaking pipelines

Obviously this caused pipelines using Business Central on-premises containers to fail as a number of the countries cannot run tests:-( Sandbox containers are NOT affected.

The bug will be fixed in CU1, were the apps on the DVD will be the right ones, but in the meantime we need a solution for all the pipelines out there, which are failing.

The build process of containers are building images based on DVDs and I am not very keen to modify the build process to grab some files from another location when building. the image. That is a disaster waiting to happen.

Instead I have added a check in NavContainerHelper, which will download the right .app files and patch the files in the container just-in-time (only if it is the 16.0 rtm container of course).


So, if you will be running tests in non-w1 16.0 containers, you are best off by updating your NavContainerHelper to and recreate your containers.

I hope this is valuable.


Freddy Kristiansen
Technical Evangelist

4 thoughts on “Running tests on Business Central 16.0

  1. Pingback: From the Microsoft Dynamics 365 Business Central Blogs: Tests; AL files; Managing development; Unpublished extensions |

  2. Pingback: From the Microsoft Dynamics 365 Business Central Blogs: Tests; AL files; Managing development; Unpublished extensions ERP for Hong Kong SME

  3. Freddy, sorry to comment on a old post, but could not find a better way to ask you this.

    can you post something about using the performance toolkit that was published with version 17 in combination with docker / bccontainerhelper?

    i see the switch includeperformancetoolkit on the New-NavContainer.ps1
    but i cannot find a command for importing or creating the performance suite, and running it.

    how to? and if not possible will you support this in nearby feature?


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s