Test Command in CLI

Contents

◷ Reading Time: 2 minutes

Test command will run the TestCase logic documents that intend to ensure the quality of the models before Publishing and Deploying.

fr.exe test --project <value> --output <value> --license <value> --runtime <value> --logic <value>
  • project: This is path to the project file existing on your local computer. The extension of the project file is .frpj located inside a folder containing all of the project artifacts.
  • output: This is the target destination file where the report of the test run will be stored. If folder location of the file does not exist will be created automatically. If it specifies ‘console’ the result report of the test run will be written on the screen only.
  • license: This is the path to the FlexRule Runtime license that is required to execute the tests.
  • runtime: This specifies the location where FlexRule Runtime is installed.
  • logic: The specifies the path to the Test Logic document that models the TestCase or ExpressionTest scenarios. Do not include the path to the file. It is the relative address based on what –project specifies.

You can also use help function as a guide.

fr.exe --help test

Example

fr.exe test --project "C:\Users\<user-name>\Documents\FlexRule\Designer\9.0.845\Bill Calculator\Bill Calculator.frpj" --output console --license "D:\Downloaded\FR License\flexrule.license (3).lic" --runtime "C:\Users\<user-name>\Documents\.flexrule\9.0.201" --logic "Test Cases\testcase.xml"
Updated on December 2, 2022

Was this article helpful?

Related Articles