Skip to main content

This documentation is for an older version of this product. See the latest version of this content.Opens in a new tab

例:プロダクションのテスト

VS Code - ObjectScript を使用して、プロダクションのテスト用のクラスを作成します。

  1. ワークスペース (多くの場合、名前は src) のソース・コード・フォルダに Tutorial フォルダがない場合は、ここで追加します。

  2. ProductionTest.cls を名前とする新しいファイルを Tutorial フォルダに追加します。

  3. 以下のコードを入力します。

    
    Class Tutorial.ProductionTest Extends %UnitTest.TestProduction
    {
    Parameter PRODUCTION = "Tutorial.ExampleProduction";
    
    Parameter IGNOREPRODUCTIONERRORS = 1;
    }
    
FeedbackOpens in a new tab