Skip to content

Command Line Interface

Francois Normandin edited this page Feb 15, 2020 · 5 revisions

Using the Command Line Interface (>= version 1.0.0 build 62) requires the following format and modifiers:

Format

<LabVIEW.exe path> <Caraya CLI path> -- <modifiers>

Modifiers:

  • -s : Source Folder (MANDATORY)
  • -x : Output File (MANDATORY)
  • -r : Recursive (defaults to true if not specified)
  • -v : Verbosity (defaults to false if not specified)
  • -i : interactive (defaults to false if not specified)

Example: (Source folder: Caraya Assert Tests + Output file on desktop with JUnit XML format + Verbose = False)

C:\Program Files (x86)\National Instruments\LabVIEW 2014\LabVIEW.exe "C:\Projects\JKI\Caraya\src\Caraya CLI.vi" -- -s "C:\Projects\JKI\Caraya\src\tests\asserts" -x "C:\Users\<your username>\Desktop\All Tests.xml" -v 0

Example of extending the CLI Caraya utility: https://github.com/LabVIEW-Open-Source/Caraya-CLI-extension