Skip to main content

Test Automation Framework for system-level validation (CXL, PCIe, BMC, firmware)

Project description

TestForge

TestForge is a modular, CLI-based hardware/system-level test automation framework for validating technologies like CXL, PCIe, BMC, and firmware.

Features

  • Modular protocol support (CXL, IPMI/Redfish, PCIe)
  • YAML-based configuration
  • Rich CLI interface
  • Scalable and pip-installable

Installation

git clone [https://github.com/your-org/testforge.git](https://github.com/MARIOREDFOX/TestForge.git)
cd testforge
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
testforge version

๐Ÿ“ Project Structure

testforge/
โ”œโ”€โ”€ src/
โ”‚   โ””โ”€โ”€ testforge/
โ”‚       โ”œโ”€โ”€ cli.py
โ”‚       โ”œโ”€โ”€ core/
โ”‚       โ”‚   โ”œโ”€โ”€ executor.py
โ”‚       โ”‚   โ”œโ”€โ”€ loader.py
โ”‚       โ”‚   โ”œโ”€โ”€ reporter.py
โ”‚       โ”‚   โ””โ”€โ”€ logger.py
โ”‚       โ”œโ”€โ”€ protocols/
โ”‚       โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚       โ”‚   โ”œโ”€โ”€ bmc/
โ”‚       โ”‚   โ”‚   โ”œโ”€โ”€ redfish.py
โ”‚       โ”‚   โ”‚   โ””โ”€โ”€ ipmi.py
โ”‚       โ”‚   โ”œโ”€โ”€ cxl.py
โ”‚       โ”‚   โ””โ”€โ”€ pcie.py
โ”‚       โ”œโ”€โ”€ tests/
โ”‚       โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚       โ”‚   โ”œโ”€โ”€ firmware/
โ”‚       โ”‚   โ”œโ”€โ”€ stress/
โ”‚       โ”‚   โ”œโ”€โ”€ health/
โ”‚       โ”‚   โ””โ”€โ”€ regression/
โ”‚       โ”œโ”€โ”€ config/
โ”‚       โ”‚   โ””โ”€โ”€ config_loader.py
โ”‚       โ”œโ”€โ”€ utils/
โ”‚       โ”‚   โ”œโ”€โ”€ ssh.py
โ”‚       โ”‚   โ”œโ”€โ”€ retry.py
โ”‚       โ”‚   โ””โ”€โ”€ parser.py
โ”œโ”€โ”€ tests/
โ”‚   โ””โ”€โ”€ test_executor.py
โ”œโ”€โ”€ examples/
โ”‚   โ”œโ”€โ”€ env.yaml
โ”‚   โ””โ”€โ”€ test_config.yaml
โ”œโ”€โ”€ docs/
โ”‚   โ””โ”€โ”€ architecture.md
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ setup.py
โ”œโ”€โ”€ setup.cfg
โ””โ”€โ”€ pyproject.toml

Usage

pip install testforge
testforge run --tag firmware
testforge run --env examples/env.yaml

python3 -m unittest discover tests

License

License: GPL v3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

testforge_cli_utils-0.1.0.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

testforge_cli_utils-0.1.0-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file testforge_cli_utils-0.1.0.tar.gz.

File metadata

  • Download URL: testforge_cli_utils-0.1.0.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for testforge_cli_utils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 74b38e7aca2c64485efac81419de51b69e45cd370189b4799986191214964d1f
MD5 d36a0065bd24bd7019dfae714fc96c67
BLAKE2b-256 6412196b47e30a5ec32ec5ffdd38de5d56ecbbd721ce8b609fbe0b481f8d7d2d

See more details on using hashes here.

File details

Details for the file testforge_cli_utils-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for testforge_cli_utils-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd366ce777e9c4112acc18eef313b7074835d9a0e65564f54927f6a69da19b25
MD5 cd296eb8ae183d49e519f75649723b47
BLAKE2b-256 343c9a407f7d6b3832a8d9167b380b3265b9114a69a83acc1a1a6ebf14d4fc7f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page