Performance of Test Code

Let’s talk about the performance of the test code that we write for Business Central. What do I mean by “performance” and how can we improve it?

Defining “Performance”
Obviously, before we set out to improve something we need to have an idea of what it is we’re trying to optimise for. I’m coming to think of the performance of test code in a couple of key ways:

Source : James Pearson
Read more…

Test Automation Examples – a GitHub repository

Over almost a decade I have been evangelizing test automation by blogging, presenting at various conferences and webinars, workshops, and, eventually last year, writing a book. People are picking up, but it’s clear there is still “a war to be won”. Testing, more specifically test automation, is too often considered a cost center instead of an essential part of our daily development practice.

Source : Van Vugt’s dynamiXs
Read more…

Running tests on Business Central 16.0

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.

Source : Freddys blog
Read more…

Test Tool Extension

When working on getting the standard tests running on our solution the standard Test Tool was not making our live as easy as it could. Wanting to rerun only successful or failing tests, this was near to impossible. Manually deselecting individual tests turning of the Run field, was, euphemistically said, not the most meaningful thing to do.

Source : Van Vugt’s dynamiXs
Read more…

How To Use PowerShell To Refresh A Microsoft Dynamics Business Central On Premises Test Database

This article is only for on-premise installations of Business Central (BC). The cloud/SaaS version requires a completely different method of refreshing involving Sandboxes. The steps below might also work for older versions of NAV, but I have not done any regression testing.

Source : ArcherPoint
Read more…

Remote Development with VS Code and AL Test Runner

The most obvious limitation of the AL Test Runner extension for VS Code has been that you need to run VS Code on the Docker host machine. That’s fine for us because we do all our development on local Docker containers but I’m aware that this isn’t everyone’s preferred process.

Source : James Pearson
Read more…