Errata and Updates to my book and GitHub project (1st edition)

As more people are starting to get into test automation, my book is being used more and more. And as time is moving on it gets outdated more and more, unfortunately. Because of this I have asked my publisher almost a year ago to update the content to be fully in sync with the current state of the product. To no avail (so far).

As part of an internal project at one of the Dutch Microsoft Dynamics 365 BC partners I will be training their developers on this topic and for that have provided them my book. Today one of their eager developers, reading the book upfront and working on the exercises, pointed out to me an anomaly in the code on GitHub. This made me realize that it makes sense to share all relevant known errata and needed updates with you on my blog. In the book and on GitHub. Surely the one that developer shared with me is worthwhile to share with all of you. And if I find time the coming weeks I will share more. Shouldn’t be too difficult (for many of them) as I already composed a list that used in trying to convince the publisher to go for an update.

Keep an eye on this post, if you want to be updated, as I will be updating this topic the coming time.

Book

Chapter 2 – Test function (page 22 in e-book) [20210219]

FunctionType has been renamed to MethodType.

Chapter 3 – Standard Tests (page 42 in e-book)

In C/SIDE times all tests objects were delivered in two main .fob files, test codeunits and test libraries. Now, in AL times these are provided in a vast collection of .app files.

Chapter 5 – Business Logic (page 63 in e-book) [20210219 – Maarten Gerritsen]

The Copy Sales Doc. feature also should incorporate the new Lookup Value Code field.

Chapter 8 – Test coverage Map (page 146 in e-book) [20210219]

TCM (Test Coverage Map) is deprecated.

Chapter 8 – Extensions and tests (page 152 in e-book) [20210219]

Microsoft is no longer obliges you to hand over a test app with any app you want to get published on app source (unfortunately): https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-checklist-submission

GitHub

app.json

Until BC15 test dependencies were addressed by the Test keyword:

  “test”“14.0.0.0”

As off BC15 test dependencies should be explicitly referenced in the dependencies collection in the app.json as in this example.

See GitHub issue #1.

Remove use of with-do [20210219]

As the with-do construct will be obsolete the code examples should be in accordance with this. This of course should also be reflected in the code examples in the book.

See GitHub issue #2.

Notes

  • If you have any question and errata/updates to report feel free to do so below
    • Update 20210219: even though I am not listing any grammatical omission above you’re welcome to provide them too
  • Please also note down if you think the book should be updated (this might help to convince the publisher)
    • Update 20210219: today I started to work on the outline for the 2nd edition on request of Packt, so it seems it’s going to happen

One Comment

  1. Pingback: Errata and Updates to my book and GitHub project (2nd edition) – Van Vugt's DynamiXs

Leave a Reply

Your email address will not be published. Required fields are marked *