How to add a line to test runner codeunit that runs the new TestVendorDiscount codeunit.
The test runner codeunit runs all the test codeunits that you may have created to test the other customized functionality.
To add a test to a test runner codeunit
- In the development environment, on the Tools menu, choose Object Designer.
- In Object Designer, choose Codeunit, select the existing test runner codeunit, and then choose the Design button.
- In the C/AL Editor, in the OnRun function, add the following code.
CODEUNIT.RUN(CODEUNIT::TestVendorDiscount);
- On the File menu, choose Save.
For more details see below posts:
Creating a Test Codeunit and Test Function
Creating a Test Runner Codeunit
28.629409
77.432905
Sain Vihar, Crossings Republik, Ghaziabad, Uttar Pradesh, India
Like this:
Like Loading...
Related
Published by Ashwini Tripathi
Company was incorporated under sub-section (2) of section 7 of Companies Act, 2013 and
rule 18 the Companies (Incorporation Rules, 2014.
Company Directors are (1) Ashwini Tripathi & (2) Rashmi Tripathi
We provide wide range of services currently only for Microsoft Dynamics Navision.
(1) Freelancing
(2) Virtual Employee
(3) Hourly basis service
(4) Dedicated resource
(5) Training
You can hire/ contract/ offshore work. Provide assistance and service for Implementation,
Development and Upgrade.
We are also Partner under Affiliate/MVAR Program for NAV, AX & CRM.
Currently we are servicing to only international customers.
We have associated with some Indian Companies to service International Customers.
We have provided service to Microsoft Affiliated Partners too.
We have our own customers too.
View all posts by Ashwini Tripathi
3 thoughts on “Adding a Test to a Test Runner Codeunit”
Comments are closed.