官术网_书友最值得收藏!

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
主站蜘蛛池模板: 个旧市| 柏乡县| 永修县| 新平| 武宣县| 霞浦县| 北海市| 阳原县| 岑溪市| 扎赉特旗| 汝城县| 西乌| 大连市| 施秉县| 崇义县| 安仁县| 靖江市| 古蔺县| 许昌市| 临泉县| 红桥区| 武城县| 乌兰县| 贵定县| 铅山县| 嵩明县| 乌恰县| 富裕县| 长白| 林州市| 南涧| 枣庄市| 个旧市| 滦南县| 车险| 搜索| 图片| 兴义市| 兖州市| 静乐县| 肥城市|