1.0.0 • Published 2 years ago
@rdfrontier/plugin-qa v1.0.0
Spectre
@rdfrontier/plugin-qa
CLI to generate web & mobile automation projects
Table of Contents
Usage
Installing Spectre can be done with the command:
$ frontier plugins:install @rdfrontier/plugin-qa
The help menu can be accessed with the command:
frontier qa --help
The format for running an Spectre command is generally:
frontier qa:COMMAND
Commands
frontier qa:create-mobile-project [NAME]
frontier qa:create-page-object [NAME]
frontier qa:create-project [NAME]
frontier qa:create-screen-object [NAME]
frontier qa:create-test [NAME]
frontier qa --help [COMMAND]
frontier qa:create-mobile-project [NAME]
Create a new WDIO project for Mobile
USAGE
$ frontier qa:create-mobile-project [NAME]
ARGUMENTS
NAME Name of the project to be created
OPTIONS
-h, --help show CLI help
See code: src/commands/create-mobile-project/index.ts
frontier qa:create-page-object [NAME]
Create a new page object file
USAGE
$ frontier qa:create-page-object [NAME]
ARGUMENTS
NAME Name of the page object file to be created
OPTIONS
-h, --help show CLI help
EXAMPLE
$ frontier qa:create-page-object
Running this add command!
See code: src/commands/create-page-object/index.ts
frontier qa:create-project [NAME]
Create a new WDIO project
USAGE
$ frontier qa:create-project [NAME]
ARGUMENTS
NAME Name of the project to be created
OPTIONS
-h, --help show CLI help
See code: src/commands/create-project/index.ts
frontier qa:create-screen-object [NAME]
Create a new screen object file
USAGE
$ frontier qa:create-screen-object [NAME]
ARGUMENTS
NAME Name of the page object file to be created
OPTIONS
-h, --help show CLI help
EXAMPLE
$ frontier qa:create-screen-object
Running this add command!
See code: src/commands/create-screen-object/index.ts
frontier qa:create-test [NAME]
Create a new test file
USAGE
$ frontier qa:create-test [NAME]
ARGUMENTS
NAME Name of the test file to be created
OPTIONS
-h, --help show CLI help
EXAMPLE
$ frontier qa:create-test
<name-of-file-without-extension>
See code: src/commands/create-test/index.ts
frontier qa:[COMMAND] --help
display help for spectre
USAGE
$ frontier qa:[COMMAND] --help
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help