raygun2x

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: MIT Imports: 5 Imported by: 0

README

Raygun2x

Overview

Raygun2x is a CLI tool that converts raygun test suites into either an OpenAPI specification or a Postman Collection. It allows users to specify an input folder, choose the conversion mode, and decide whether to print the output to stdout or save it to a file.

Installation

Ensure you have Go installed, then build the tool using:

make binary

Usage

Run the command with the following options:

./raygun2x convert --input <folder> --mode <openapi|postman> --output <file> --stdout
Options:
  • -i, --input (default: presets/) - The folder containing test suites.
  • -m, --mode (default: openapi) - The conversion mode: openapi or postman.
  • -o, --output (optional) - The file to save the output. If not specified, output is printed to stdout.
  • -s, --stdout (optional) - Force printing to stdout instead of writing to a file.
Examples

Convert test suites to an OpenAPI spec and save to a file:

./raygun2x convert --input my-tests/ --mode openapi --output openapi.yaml

Convert test suites to a Postman Collection and print to stdout:

./raygun2x convert --input my-tests/ --mode postman --stdout

License

This project is licensed under the MIT License.

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