npx detox

From wikieduonline
Jump to navigation Jump to search

npx detox detox[34451] ERROR: [cli.js] Not enough non-option arguments: got 0, need at least 1

detox <command>

Commands:

 detox build-framework-cache    Builds a cached Detox framework for the current environment in ~/Library/Detox. The cached
                                framework is unique for each combination of Xcode and Detox version. (macOS only)
 detox build                    Runs the user-provided build command, as defined in the 'build' property of the specified
                                configuration.
 detox clean-framework-cache    Deletes all Detox cached frameworks from ~/Library/Detox. Cached framework can be rebuilt using
                                the 'build-framework-cache' command. (macOS only)
 detox init                     Scaffold initial E2E test folder structure for a specified test runner
 detox rebuild-framework-cache  Rebuilds a cached Detox framework for the current environment in ~/Library/Detox. The cached
                                framework is unique for each combination of Xcode and Detox version. (macOS only)
 detox run-server               Start a standalone Detox server
 detox test                     Run your test suite with the test runner specified in package.json

Options:

 --version  Show version number                                                                                       [boolean]
 --help     Show help

See also[edit]

Advertising: