NasaGonkeySuite is an automated testing suite for the NASA OPEN APIs using Gonkey and Allure reports. Gonkey is a testing automation tool designed for testing HTTP APIs, and Allure is used for generating detailed and informative test reports.
- Automated tests for NASA API endpoints.
- Configuration with Docker and Docker Compose for easy setup.
- Test cases defined in YAML for clarity and simplicity.
- Detailed reports generated by Allure.
- Docker
- Docker Compose
- Go (if running locally without Docker)
-
Clone the repository:
git clone https://github.com/ZhikharevAl/nasa-gonkey-suite.git cd nasa-gonkey-suite
-
Build and start the Docker containers:
docker-compose up --build
-
Install gonkey:
go install github.com/lamoda/gonkey@latest
-
Install Go dependencies:
go mod tidy
-
Run the tests:
gonkey -tests=./gonkey/tests -host=https://api.nasa.gov/ -v
Test configurations are located in the gonkey/tests/
directory. Each test is defined in a YAML file, specifying the request parameters and expected responses.
Allure reports are generated after test execution. To view the reports:
- Generate the Allure report:
allure serve allure-results
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or issues, please open an issue on the GitHub repository.