gotep is a terminal-based REST client designed to execute HTTP tests based on the Jetbrains HTTP-Client.
- Download the OS-specific binary from the release page.
- Copy the binary to a location in your
$PATH
. - Execute your tests by typing
gotep run <testfile with .http or .rest ending>
in your terminal. Find out more about supported command flags by executing the help commands described below. - If you need help, type
gotep -h
orgotep help
. For subcommand-specific help, typegotep <subcommand> -h
.
If you encounter bugs during use, feel free to open an issue or start contributing.
Please read and follow the guidelines, if you wish to contribute.
- Clone the repository.
- Enable git hooks by executing
git config core.hooksPath .hooks; chmod +x .hooks/*
. - Run
go install
inside thesrc
directory to install all necessary go dependencies. You can either spin up a docker dev container using the command below or develop on your local machine.
docker run --rm -it --name gotep-dev -v $PWD:/go/gotep golang:1.19
- This repo follows the rebase-merge git strategy.
- Commit messages have to follow an extended version of Angular commit message guidelines.
- All go files need to be properly formatted before they can be committed. Use
make fmt
. - Comments should begin with the following annotations:
// FIXME - for a bug that has to be approached later on
// TODO - for a feature / architecture / design change which depends on something else and needs to be implemented on a future point in time
// NOTE - for an important info