marcoferrer / goRP

Golang Client and CLI Utility for ReportPortal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Workflow Status License MIT Go Report Card

goRP

Golang Client and CLI Utility for ReportPortal

Installation

Usage

gorp [global options] command [command options] [arguments...]   

COMMANDS:
   launch   Operations over launches
   report   Reports input to report portal
   init     Initializes configuration cache
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --uuid value, -u value     Access Token [$GORP_UUID]
   --project value, -p value  ReportPortal Project Name [$GORP_PROJECT]
   --host value               ReportPortal Server Name
   --help, -h                 show help (default: false)
   --version, -v              print the version (default: false)

Init command

NAME:
    gorp init - Initializes configuration cache
USAGE:
    gorp init [command options] [arguments...]
OPTIONS:
    --help, -h  show help (default: false)

Launch command

USAGE:
   goRP launch command [command options] [arguments...]

COMMANDS:
   list     List launches
   merge    Merge Launches
   help, h  Shows a list of commands or help for one command

List Launches

USAGE:
   goRP launch list [command options] [arguments...]

OPTIONS:
   --filter-name value, --fn value  Filter Name [$FILTER_NAME]
   --filter value, -f value         Filter [$Filter]
   --help, -h                       show help (default: false)

Report command

NAME:
    goRP report - Reports input to report portal
USAGE:
    goRP report command [command options] [arguments...]
COMMANDS:
    test2json  Input format: test2json
    help, h    Shows a list of commands or help for one command
OPTIONS:
    --help, -h  show help (default: false)

Using as Golang Test Results Agent

Run tests with JSON output

go test -json ./... > results.txt

Report The results

gorp report test2json -f results.txt

Report directly from go test output

go test -json ./... | gorp report test2json

About

Golang Client and CLI Utility for ReportPortal

License:MIT License


Languages

Language:Go 94.9%Language:Makefile 3.8%Language:Dockerfile 1.1%Language:Shell 0.2%