- Automated Testing in Microsoft Dynamics 365 Business Central
- Luc van Vugt
- 89字
- 2021-06-24 14:56:49
Test codeunits
A test codeunit is defined by its Subtype:
codeunit Id MyFirstTestCodeunit
{
Subtype = Test;
}
This makes it different from a standard codeunit in a couple of ways:
- It can contain the so-called test and handler functions next to the normal functions we are used to when writing app code
- When executing a test codeunit, the platform will do the following:
- Run the OnRun trigger and each test function that resides in the test codeunit, from top to bottom
- Record the result of each test function
推薦閱讀
- 數(shù)據(jù)驅(qū)動力:企業(yè)數(shù)據(jù)分析實戰(zhàn)
- 創(chuàng)新在于人,而不是產(chǎn)品:硅谷的人才秘密
- 海底撈你學不會
- IBM商業(yè)價值報告:認知型企業(yè)
- 會管理,就是懂帶人
- 復盤五大工具與實戰(zhàn)應用:團隊賦能與績效提升技術(shù)
- 稻盛和夫談經(jīng)營:創(chuàng)造高收益與商業(yè)拓展
- 企業(yè)家精神:商業(yè)與社會變革的核能
- 神經(jīng)元領(lǐng)導力:讓團隊追隨你的秘密
- 從需求到產(chǎn)品:0歲產(chǎn)品經(jīng)理進階之道
- 大健康企業(yè)經(jīng)營與創(chuàng)新
- 企業(yè)員工培訓管理實務操作與案例精解
- 私營公司成敗1000問
- 人力資源建設與行政管理
- 藍血16杰:BAT幫創(chuàng)業(yè)的故事