Metadata-Version: 2.1
Name: robotframework-pokemon
Version: 0.1.0
Summary: Robot Framework keyword library for the pytemon interactive Pokemon game
Home-page: https://github.com/MobyNL/robotframework-pokemon
License: MIT
Keywords: robotframework,pokemon,game,testing,tui,terminal
Author: Mark Moberts
Author-email: markmoberts@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Framework :: Robot Framework
Classifier: Framework :: Robot Framework :: Library
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Games/Entertainment :: Role-Playing
Classifier: Topic :: Software Development :: Testing
Requires-Dist: pytemon (>=0.1.0,<0.2.0)
Requires-Dist: robotframework (>=7.0,<8.0)
Requires-Dist: robotframework-pythonlibcore (>=4.4.1,<5.0.0)
Project-URL: Repository, https://github.com/MobyNL/robotframework-pokemon
Description-Content-Type: text/markdown

# rf-pytemon

Robot Framework keyword library for the [pytemon](../pytemon/) Pokemon game.

## Overview

`rf-pytemon` exposes the pytemon game as Robot Framework keywords, allowing you to launch the interactive terminal, inspect save files, and rate trainer skills from a `.robot` test suite.

The April Fools gag: QA engineers expect to run tests — they get a full Pokemon game instead. 🎮

## Setup

```bash
cd robotframework-pokemon/
poetry install
```

> **Note:** `pytemon` is installed as a local path dependency from `../pytemon/`.

## Run the game via Robot Framework

```bash
poetry run robot test.robot
# or
./run_robot.sh
```

## Available Keywords

| Keyword | Description |
|---|---|
| `Start Interactive Terminal` | Launch the Textual TUI (new window by default) |
| `Send Command` | Send a command to the running terminal |
| `Get Save Game Stats` | Return formatted save file statistics |
| `Rate My Trainer Skills` | Score and grade a trainer's save file |

## Project structure

```
robotframework-pokemon/
├── PokemonLibrary/    # RF keyword library (wraps pytemon)
│   ├── __init__.py
│   └── library.py
├── atests/            # Robot Framework acceptance tests
├── test.robot         # Main RF launcher
├── run_robot.sh       # Helper script
└── pyproject.toml
```

