Categorygithub.com/prawf/prawf-cli
modulepackage
0.0.1-alpha
Repository: https://github.com/prawf/prawf-cli.git
Documentation: pkg.go.dev

# README

prawf-cli

Easy to use HTTP API testing framework built into an elegant CLI

GitHub release (latest by date) GitHub last commit GitHub issues GitHub Twitter URL

Made with ā¤ļøŽ by Navendu Pottekkat

prawf is a lightweight and easy-to-use HTTP API testing platform built into an elegant CLI.

Here are some reasons why you might want to use prawf-

šŸ‹ļøā€ā™‚ļø Lightweight- Does not add any overhead to your software

🧰 Cross platform- Compiled to a binary and works on Windows, Mac and Linux

šŸ“ Declarative tests- Forget all those flags you use to send a request and write your tests in a file

🧱 Structured logs- Get structured logs so you do not have to spend hours debugging

🚰 Built-in CI/CD support- Ship your applications bug free by adding to your CI/CD pipelines

šŸ”“ Free and open-source- It always will be

Quick Start

  • Install prawf- See the Installation docs.

  • Open up your project folder. If you do have a project yet and is just testing prawf, you can create an empty folder.

  • Run prawf init to create a prawf.json configuration file and initialise it.

By default, prawf will initialise the prawf.json configuration file with the API endpoints from jsonplaceholder.typicode.com. You can use this for testing out the capabilities of prawf.

  • Edit the prawf.json configuration file if you are testing a custom application. You can leave it as it is if you are just testing out prawf.

  • Run prawf run to send requests to the endponits specified in your configuration file.

  • Run prawf test to test the endpoints with the expected responses.

Installation

Download prawf- Go to the releases page and download the zip file corresponding to your operating system.

Extract the package.

Navigate to the extracted folder.

Run export PATH=$PWD:$PATH

Check your installation by running prawf version.

# Packages

Copyright Ā© 2021 Navendu Pottekkat <[email protected]> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
No description provided by the author