lab

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

README

lab

lab is a test runner for Ferret scripts.

Features

  • Parallel execution
  • Support of multiple types of script locations (file system, git, http)
  • Arbitrary amount of HTTP endpoints for serving static files
  • Optional remote runtime

Usage

NAME:
   lab - run FQL scripts

USAGE:
   ferret-lab [global options] command [command options] [arguments...]

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --files value, -f value     Location of FQL script files to run [$FERRET_LAB_FILES]
   --cdp value                 Chrome DevTools Protocol address (default: "http://127.0.0.1:9222") [$FERRET_LAB_CDP]
   --filter value              filter test files [$FERRET_LAB_FILTER]
   --reporter value, -r value  reporter (console, simple) (default: "console") [$FERRET_LAB_REPORTER]
   --runtime value             url to remote Ferret runtime [$FERRET_LAB_RUNTIME]
   --concurrency value         number of multiple tests to run at a time (default: 24) [$FERRET_LAB_CONCURRENCY]
   --dir value, -d value       file or directory to serve (./dir:8080 as default or ./dir:8080@name as named) [$FERRET_LAB_DIR]
   --param value, -p value     query parameter (--param=foo:"bar", --param=id:1) [$FERRET_LAB_PARAM]
   --wait value, -w value      waits for a 3rd party service by calling its endpoint (--wait http://127.0.0.1:9222/json/version) [$FERRET_LAB_WAIT]
   --wait-timeout value        wait timeout in seconds (default: 5) [$FERRET_LAB_WAIT_TIMEOUT]
   --wait-attempts value       wait attempts (default: 5) [$FERRET_LAB_WAIT_TRY]
   --help, -h                  show help (default: false)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL