Reader small image

You're reading from  .Automated Testing in Microsoft Dynamics 365 Business Central

Product typeBook
Published inApr 2019
Reading LevelIntermediate
PublisherPackt
ISBN-139781789804935
Edition1st Edition
Languages
Right arrow
Author (1)
Luc van Vugt
Luc van Vugt
author image
Luc van Vugt

In 1999, Luc van Vugt stepped into the Dynamics 365 Business Central (BC) world, training many developers. After Microsoft acquired Navision, he joined their Dynamics localization team as tester and project lead, 6 years closely involved with all BC releases. Since he left MS, he became an active community member with his blog, Dutch Dynamics Community and as conference speaker. He co-founded NAV Skills, supporting BC pros with workshops and webinars until 2019. He continues ever since with webinars under the flag of Areopa. For all this work, Luc has been awarded MS MVP since 2011. In 2012, he started fluxxus.nl mainly focusing on BC development courses and workshops on test automation, on the latter a main driving force in the community.
Read more about Luc van Vugt

Right arrow

TDD and our test examples

What if we applied TDD to our test examples in Section 3, Designing and Building Automated Tests for Microsoft Dynamics 365 Business Central?

To be honest, it wouldn't have looked much different, as a lot of the TDD principles were implicitly exercised as follows:

  • By defining our customer wishes by means of the ATDD scenarios, we created ourselves a sufficient set of tests, that is, a test list
  • By implementing our tests with the four steps recipe, we did the following:
    1. We took small steps
    2. We created a structure for each test based on the GIVEN-WHEN-THEN tags
    3. We constructed the real code to get it to work
    4. We ran the test, and if red, we adjusted the code till the test passed, that is green
  • And even though not worked out in the test examples as such, as discussed at the end of Chapter 7, From Customer Wish to Test Automation - And Some More, I...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
.Automated Testing in Microsoft Dynamics 365 Business Central
Published in: Apr 2019Publisher: PacktISBN-13: 9781789804935

Author (1)

author image
Luc van Vugt

In 1999, Luc van Vugt stepped into the Dynamics 365 Business Central (BC) world, training many developers. After Microsoft acquired Navision, he joined their Dynamics localization team as tester and project lead, 6 years closely involved with all BC releases. Since he left MS, he became an active community member with his blog, Dutch Dynamics Community and as conference speaker. He co-founded NAV Skills, supporting BC pros with workshops and webinars until 2019. He continues ever since with webinars under the flag of Areopa. For all this work, Luc has been awarded MS MVP since 2011. In 2012, he started fluxxus.nl mainly focusing on BC development courses and workshops on test automation, on the latter a main driving force in the community.
Read more about Luc van Vugt