Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 1.83 KB

README.md

File metadata and controls

63 lines (49 loc) · 1.83 KB

NasaGonkeySuite

Overview

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.

Features

  • 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.

Requirements

  • Docker
  • Docker Compose
  • Go (if running locally without Docker)

Setup

  1. Clone the repository:

    git clone https://github.com/ZhikharevAl/nasa-gonkey-suite.git
    cd nasa-gonkey-suite
  2. Build and start the Docker containers:

    docker-compose up --build

Running Locally without Docker

  1. Install gonkey:

    go install github.com/lamoda/gonkey@latest
  2. Install Go dependencies:

    go mod tidy
  3. Run the tests:

    gonkey -tests=./gonkey/tests -host=https://api.nasa.gov/ -v

Test Configuration

Test configurations are located in the gonkey/tests/ directory. Each test is defined in a YAML file, specifying the request parameters and expected responses.

Reports

Allure reports are generated after test execution. To view the reports:

  1. Generate the Allure report:
    allure serve allure-results

Screenshot 2024-08-04 160816

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any inquiries or issues, please open an issue on the GitHub repository.