Example: Production Test
Use VS Code - ObjectScript to create the class for testing the production:
-
If you haven't already, within the source code folder in your workspace (probably named src), add a new folder named Tutorial.
-
Within the Tutorial folder, add a new file named ProductionTest.cls.
-
Enter the following code:
Class Tutorial.ProductionTest Extends %UnitTest.TestProduction { Parameter PRODUCTION = "Tutorial.ExampleProduction"; Parameter IGNOREPRODUCTIONERRORS = 1; }