Code Coverage for Dynamics NAV 2013

Administrator
Member, Moderator, Administrator Posts: 2,506
Code Coverage NAV 2013 objects
Develped by
-Simon Ejsing
Run page 50020 and click "Start code Coverage" button
http://www.mibuso.com/dlinfo.asp?FileID=1536
Discuss this download here.
Develped by
-Simon Ejsing
Run page 50020 and click "Start code Coverage" button
http://www.mibuso.com/dlinfo.asp?FileID=1536
Discuss this download here.
0
Comments
-
Hi Mohammed,
good to see These objects finally arriving at mibuso. However, if you "distribute" this download, originally from one of my blog Posts (see the English translation in our German NAV developers blog, scroll down for original download), please leave all Copyright stuff and especially the MS-PL link intact for all contained objects.
Cheers
CarstenCheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.0 -
Code Coverage for Dynamics NAV 2013
This Code Coverage implementation was originally released back in August 2012 on German Microsoft Dynamics NAV Developers Blog, translated), when a Code Coverage front-end was not available for Dynamics NAV 2013.
In the meantime, a different implementation of Code Coverage is part of the official Application Test Toolset, available on PartnerSource. See http://blogs.msdn.com/b/nav/archive/201 ... -2013.aspx.
Update 21/06/2013: original version posted with reference of source
http://www.mibuso.com/dlinfo.asp?FileID=1536
Discuss this download here.0 -
Hi
So is this equal to what is included in the App. Test Toolkit?Best regards / Venlig hilsen
Johannes Sebastian
MB7-840,MB7-8410 -
Hi Johannes,
no, this is an implementation from before we released this together with the Application Test Toolset. So if you like to use the Standard implementation, please download the complete package.
Cheers
CarstenCheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.0 -
No of hits seems to be missing in the code coverage. Quite pointless, if the executed lines in c/al code is shown without no. of hits. I normally use this in the previous versions to see which line of code is hit, before I use the debugger to dive in deeper.0
-
Sorry. This version does not have no. of hits per c/al line, but the version in the partnersource seems to have this.0
-
This is great
But I really miss being able to see whether a table is modified or just read.Best regards / Venlig hilsen
Johannes Sebastian
MB7-840,MB7-8410 -
@jordi79: The No. of Hits is included in the code page. simply add the column. On the main page the No. of Hits is displayed as weight per object in percent.
@Johannes: Not sure how you would like to see this implemented. This would mean to parse the output, as this Information is not logged in Code Coverage. Maybe, starting with 2013 R2, the Application Profiler fits your needs: http://navappprofiler.codeplex.com/
Cheers
CarstenCheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.0 -
SilverX wrote:@jordi79: The No. of Hits is included in the code page. simply add the column. On the main page the No. of Hits is displayed as weight per object in percent.
@Johannes: Not sure how you would like to see this implemented. This would mean to parse the output, as this Information is not logged in Code Coverage. Maybe, starting with 2013 R2, the Application Profiler fits your needs: http://navappprofiler.codeplex.com/
Cheers
Carsten
What I'm trying to do is determine what tables are modified.
MS has set a limit for 3 tables to write to, when using the Perpetual Limited User License. So I see this as a common task for NAV developers from now on.
SQL profiler will give me the answer, but I hav'nt been able to set it up properly. Gonna try a 2012 version soon.
Thanks for pointing me towards NAV App Profiler.
I've checked it out quick, and found that it 1) Did'nt reveal my Inserts/Delete transactions 2)cuts off the transaction code
So it's not the Tool for this job, yet, any ways, but very interesting.
-
I've modified your Code Coverage to mark any hit lines, that contain MODIFY,DELETE...etc. and thats what i'm using for now.Best regards / Venlig hilsen
Johannes Sebastian
MB7-840,MB7-8410 -
Great to have this back. =D>
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
Nice to have this, but which colour is which?0
-
Hi all,
I download and use many times the tool for Code Coverage in NAV version 2013 whit much satisfacion results!
I tried to import and use the same object's in a NAV 2013 R2 NAV version, but I not be able to use the tool beacause when I run the page I received this error:
"you do not have the following permissions on page code coverage execute. Page view - code coverage must close";
when I tried to add the permission to table Code Coverage in the page I received this error:
"You do not have permission to read the Code Coverage table".
Can someone give me some help, please?
Thank yuo very much.
Best regards.
Gianp.0 -
Hi Gianp,
I assume you are using the/a demo license or at least a license which does not cover Pages 50020/50021. Please make sure you are using a proper license file.
Let me know if you need further assistance.Cheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.0 -
The problem was the license.
Thanks for suggestion!!!
Code Coverage tool run good in the NAV 2013 R2 also =D>
Best regards.
Gianp.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