A simple application to write and run smoke tests for RESTful APIs.
- Go installed on your machine.
-
Clone the repository:
git clone https://github.com/jdnielss/go-pod.git
-
Navigate to the project directory:
cd go-pod
-
Navigate to the project directory:
go mod tidy
-
Build the project:
make build
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}
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.
Describe the configuration options and how to customize them.
If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/yourfeature
). - Make your changes.
- Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/yourfeature
). - Create a new Pull Request.
This project is licensed under the MIT License.