Skip to main content

Promethee-Selenium

[English version below | Version française plus bas]


🇬🇧 English Description

Promethee-Selenium is a robust, Page Object Model (POM) based library for automated UI testing using Selenium and Pytest.

It is designed to streamline your end-to-end testing workflow by providing a structured architecture, ensuring your tests are maintainable, scalable, and easy to read.

Features

  • Page Object Model (POM): Enforces a clean separation between page interactions (locators, actions) and test logic (assertions, workflows).
  • Interactive CLI: A user-friendly command-line interface to guide you through project initialization and documentation.
  • Scaffolding: Quickly generate a production-ready project structure with promethee-selenium init.
  • Built-in Utilities: A rich set of helper functions for common Selenium actions (clicking, typing, waiting) powered by selenium-ui-test-tool.
  • Environment Management: Native support for managing test environments and credentials securely.
  • Bilingual Support: The CLI and documentation are available in both English and French.

Installation

Install the package via pip:

pip install promethee-selenium

Getting Started

  1. Launch the CLI: After installation, run the following command to access the interactive menu:

    promethee-selenium
    

    You will be prompted to select your language (English/French) and then choose an action.

  2. Initialize a Project: Select the Init option from the menu or run:

    promethee-selenium init
    

    This creates a standard directory layout:

    • scenarios/: For your Page Object classes.
    • tests/: For your Pytest test scripts.
    • data/: For configuration files and test data.
    • utils/: For project-specific utilities.
    • conftest.py: Pytest configuration with pre-configured fixtures.
  3. Run Your Tests: Execute your tests using pytest:

    pytest tests/
    

Documentation

To view the full documentation, select Docs from the CLI menu or run:

promethee-selenium docs

🇫🇷 Description Française

Promethee-Selenium est une librairie robuste basée sur le modèle Page Object Model (POM) pour l'automatisation de tests UI avec Selenium et Pytest.

Elle est conçue pour optimiser votre flux de travail de tests de bout en bout en fournissant une architecture structurée, garantissant que vos tests restent maintenables, évolutifs et lisibles.

Fonctionnalités

  • Page Object Model (POM) : Impose une séparation claire entre les interactions de page (sélecteurs, actions) et la logique de test (assertions, scénarios).
  • CLI Interactif : Une interface en ligne de commande conviviale pour vous guider dans l'initialisation du projet et la consultation de la documentation.
  • Génération de Projet : Générez rapidement une structure de projet prête pour la production avec promethee-selenium init.
  • Utilitaires Intégrés : Un ensemble riche de fonctions d'aide pour les actions Selenium courantes (cliquer, écire, attendre), propulsé par selenium-ui-test-tool.
  • Gestion d'Environnement : Support natif pour gérer les environnements de test et les identifiants de manière sécurisée.
  • Support Bilingue : Le CLI et la documentation sont disponibles en anglais et en français.

Installation

Installez le paquet via pip :

pip install promethee-selenium

Démarrage Rapide

  1. Lancez le CLI : Après l'installation, exécutez la commande suivante pour accéder au menu interactif :

    promethee-selenium
    

    Il vous sera demandé de choisir votre langue (Anglais/Français) puis de choisir une action.

  2. Initialisez un Projet : Sélectionnez l'option Init dans le menu ou exécutez :

    promethee-selenium init
    

    Cela crée une structure de répertoires standard :

    • scenarios/ : Pour vos classes Page Object.
    • tests/ : Pour vos scripts de test Pytest.
    • data/ : Pour les fichiers de configuration et les données de test.
    • utils/ : Pour les utilitaires spécifiques au projet.
    • conftest.py : Configuration Pytest avec des fixtures pré-configurées.
  3. Lancez Vos Tests : Exécutez vos tests avec pytest :

    pytest tests/
    

Documentation

Pour consulter la documentation complète, sélectionnez Docs dans le menu du CLI ou exécutez :

promethee-selenium docs

Metadata

Release files for promethee-selenium 1.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for promethee-selenium 1.0.10
File Size Uploaded Provenance
promethee_selenium-1.0.10.tar.gz 17.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for promethee-selenium 1.0.10
File Interpreter ABI Platform
promethee_selenium-1.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 35.9 kB

Release files / promethee_selenium-1.0.10.tar.gz

Download URL promethee_selenium-1.0.10.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
290da0273129e01a15a2257ed9132b2e9fa85f6802fa2bb6a665e1a7429ee68d
BLAKE2b-256 checksum
How to use checksums
656eb54bd8d229004376c11b9ab91634bb88e1f7267b425f0c530bfcfe6c1cb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.6

Release files / promethee_selenium-1.0.10-py3-none-any.whl

Download URL promethee_selenium-1.0.10-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fe1368b8a76b992c85d3342cf77d7a7d4073993c98ddb01d3f569bf70a2c165
BLAKE2b-256 checksum
How to use checksums
cc6c74450920a537b4b66ffc8cd1ca0ef55d8690d78f2a5de80980f868919551
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.6

Security for promethee-selenium 1.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page