Skip to main content

Example: Production Test

Use VS Code - ObjectScript to create the class for testing the production:

  1. If you haven't already, within the source code folder in your workspace (probably named src), add a new folder named Tutorial.

  2. Within the Tutorial folder, add a new file named ProductionTest.cls.

  3. Enter the following code:

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