Blog Post List
  • NAV Development with Team Foundation Server

    For almost 1 year now we have been working with Team Foundation Server as major tool in our NAV development. You might have noticed that I have been referring to Team Foundation Server in some of my posts, but only referring. Now, after this 1 year, time is ripe to share our findings. I will give it a start at the next DDC event , on February 13, in Arnhem, which will certainly be followed by specific posts on my blog. Those of you who can understand Dutch and are able to travel to Arnhem…
    • 2012-1-31
  • TDD in NAV - Test #4

    All our tests successfully passed and now only one test remaining on our test list (test #4): # Description Status 1a Create PI (purchase invoice) with 1 line and check that total line amount is calculated right Complete 1b Create PI with 1 line, populate line amount with random value and check that total line amount is calculated right Complete 2 Create PI with multiple (2) lines and check that total line amount is calculated right Complete…
    • 2012-1-28
  • TDD in NAV - Test #3

    Getting our first two tests, test #1 and test #2 , working ( GREEN ! ... GREEN ! ... GREEN !), we successfully implemented the first part of our feature, i.e. the function CalcDocAmount , leaving us now with it's counterpart: the verification of the manually entered total amount of the document (invoice). # Description Status 1a Create PI (purchase invoice) with 1 line and check that total line amount is calculated right Complete 1b Create PI with 1 line…
    • 2012-1-26
  • TDD in NAV - Test #2

    Well, don't let us be distracted anymore. Our next test is awaiting us: Test #2. # Description Status 1a Create PI (purchase invoice) with 1 line and check that total line amount is calculated right Complete 1b Create PI with 1 line, populate line amount with random value and check that total line amount is calculated right Complete 2 Create PI with multiple (2) lines and check that total line amount is calculated right In Progress …
    • 2012-1-20
  • TDD in NAV - Triangulation

    Test #1 has passed and we can cross it off on our test list: # Description Status 1 Create PI (purchase invoice) with 1 line and check that total line amount is calculated right Complete 2 Create PI with multiple (2) lines and check that total line amount is calculated right 3 Create PI with multiple lines and check that doc. amount verification succeeds 4 Create PI with multiple lines and check that doc. amount verification fails…
    • 2012-1-20
  • Test-Driven Development in NAV - Test #1

    There we go. Let's turn to our companion on this journey, our Test List , pick out our first test: # Description Status 1 Create PI (purchase invoice) with 1 line and check that total line amount is calculated right In Progress 2 Create PI with multiple (2) lines and check that total line amount is calculated right 3 Create PI with multiple lines and check that doc. amount verification succeeds 4 …
    • 2012-1-17
  • Test-Driven Development in NAV - By Example

    Our example is a simple requirement: To prevent a user posting purchase invoices headlong he has to enter manually the total amount of the invoice lines in a field on the invoice header and only when header amount and lines total match can the document be posted. This feature might ring a bell for those of you working with NAV BE and NL as it's part of the standard NAV BE/NL application. However, for brevity sake, we will not take into account all the details of the BE/NL requirements. So…
    • 2012-1-17
  • Test-Driven Development in NAV - Intro 2

    OK, I am back on the track after enjoying a nice week of (learning) snowboarding out there in the French Alps. So where did I leave you behind? (And by the way: the best for 2012!) Yes, Test-Drive Development. Oops, I did it again! Where did that 'n' go? To lazy to touch the n-key well enough. Reset and type it again, Sam: Test-Drive n Development. Did you notice it in my previous post ? No? So it did suffice. My text past the test (being your pair of eyes and that's "behind it"). Yes? It did…
    • 2012-1-13