Skip to content

Loethor/poke-robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

poke-robot

API test automation project built with Robot Framework and Python using PokéAPI.

Robot Framework Tests

🤖Latest report

Overview

This project explores API test automation using Robot Framework and PokéAPI.

It focuses on:

  • reusable Robot Framework keywords
  • REST API testing patterns
  • positive and negative test scenarios
  • data-driven testing with CSV
  • GitHub Actions CI integration
  • automated report publishing

Run tests (quick start)

uv sync
uv run robot tests/

Optional:

uv run robot -d reports tests
uv run robot -d reports tests/pokemon

Installation

  1. Clone the repository
  2. Install uv
  3. cd poke-robot
  4. uv sync

Project structure

poke-robot/
├── data/
├── libraries/
├── resources/
├── schemas/
├── tests/
└── .github/workflows

Examples

Verify Pikachu Exists
    [Documentation]
    ...    Given the PokeAPI is available
    ...    When we request pokemon Pikachu
    ...    Then the pokemon exists and the name is correct

    ${response}=    Get Pokemon By Name    pikachu

    Pokemon Name Should Be    ${response}    pikachu
    Pokemon Should Exist    ${response}

Architecture

  • Robot Framework handles test orchestration
  • RequestsLibrary performs API communication
  • Python helper libraries provide reusable validation logic
  • CSV datasets enable data-driven testing
  • GitHub Actions runs automated CI pipelines

Technologies

API Used

This project uses data from PokéAPI.

PokéAPI is a free and community-driven Pokémon REST API.

Acknowledgements

Pokémon and Pokémon character names are trademarks of Nintendo, Game Freak, and The Pokémon Company.

This project is not affiliated with, endorsed by, or sponsored by Nintendo, Game Freak, or The Pokémon Company.

License

This project is licensed under the MIT License.

About

Testing the Pokemon API with Robot Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors