Writing C/AL unit tests efficiently with help of new tools

Luc_VanDyck
Member, Moderator, Administrator Posts: 3,633
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.
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
-
Hello,
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?Laura Nicolàs
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.0 -
Hello,
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.0 -
Just for your information, the link for the video of this presentation and the related objects can be found at:
http://www.mibuso.com/dlinfo.asp?FileID=14920 -
Have a look at the blog on Unit Testing on MSDN.
The link is here: http://blogs.msdn.com/b/nav/archive/201 ... -c-al.aspx.
Thank you and best regards,
Soumya Dutta
NAV team.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions