Skip to content

Latest commit

 

History

History
76 lines (47 loc) · 1.5 KB

README.md

File metadata and controls

76 lines (47 loc) · 1.5 KB

This image generate by AI

go-pod

A simple application to write and run smoke tests for RESTful APIs.

Installation

Prerequisites

  • Go installed on your machine.

Steps

  1. Clone the repository:

    git clone https://github.com/jdnielss/go-pod.git
  2. Navigate to the project directory:

    cd go-pod
  3. Navigate to the project directory:

    go mod tidy
  4. Build the project:

    make build

Running

The most convenient way of running this code, especially in a CI environment, is to use the docker image jdnielss/pod

docker run --rm -v "$(pwd)":/test jdnielss/pod -f /test/config.yaml -h http://{YOUR_URL}

Usage

Explain how to use your project. Provide examples if applicable.

./pod -f config.yaml -h http://localhost:8080
  • -f flag: Path to the YAML config file.
  • -h flag: Base URL of the API.

Configuration

Describe the configuration options and how to customize them.

Contributing

If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/yourfeature).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add some feature').
  5. Push to the branch (git push origin feature/yourfeature).
  6. Create a new Pull Request.

License

This project is licensed under the MIT License.