This command requires an API key to authenticate against Momentic’s servers.

Overview

Start a local test editor UI. This interface allows you to easily create, manage, and run tests stored on your local machine (including within Git repositories). This command will find the nearest Momentic project, displaying only the tests and modules configured to be visible within the project:

Arguments

ArgumentDescriptionRequired
testFilesOne or more paths to files on disk. You may also pass a directory name, which will automatically include all test files under that directory.Yes

Options

OptionDescriptionDefault
--pixel-ratio <pixelRatio>.Momentic features that require calculating relative visual positions are affected by your monitor’s pixel density. If unsure, please visit this site to find your machine’s pixel ratio.2 when a MacOS Retina display is detected, otherwise 1

Was this page helpful?