Session title: Writing C/AL unit tests efficiently with help of new tools
Date: Thursday, 27 september 2012
Time: 11:30 - 13:00
Level: 300 - Advanced
Speakers: Soumya Dutta, Elly Nkya
Session description:
With volumes of code having been written in C/AL for many end users, it is important to preserve the quality of code by means of regression testing. Running unit tests before check-in is your safeguard that keeps you from breaking existing functionality. Tests coded in C/AL utilize NAV development skills and the “usual” tools (IDE, debugger etc).
By testing smaller portions of code, the unit tests are simple to write and cost-effective way to maintain. The session will provide insights into what makes unit testing different from a scenario test, its constituent components and libraries.
The platform supports the unit testing idea by providing different tools like page testability, code coverage and debugger. Usage of these tools will be covered.
Use this thread to post your questions, comments or things you would like to see in this session at the conference.
No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
0
Comments
Will you be covering testing in NAV 2013 or in general? I'm asking because in the session description you say "[...]providing different tools like [...] code coverage[...]".
But I can't find the Code Coverage tool in the beta version of Dynamics NAV 2013. I have used the Code Coverage feature published on this blog post http://blogs.msdn.com/b/german_nav_developer/archive/2012/08/26/pimp-your-nav-2013-code-coverage-in-30-minuten-nachr-252-sten.aspx.
Do you know if the official release of Dynamics 2013 will include a standard Code Coverage?
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.
You are right, the 2013 release unfortunately does not have a page for Code Coverage even though the functionality is there.
The presentation will cover this using a simple page that highlights the feature in relation to Test.
http://www.mibuso.com/dlinfo.asp?FileID=1492
The link is here: http://blogs.msdn.com/b/nav/archive/201 ... -c-al.aspx.
Thank you and best regards,
Soumya Dutta
NAV team.