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.1.tar.gz (18.2 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.1-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: testforge_cli_utils-0.1.1.tar.gz
  • Upload date:
  • Size: 18.2 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.1.tar.gz
Algorithm Hash digest
SHA256 a961dc0001222d53061861d9424d8605ea245e35c74ebd67be865bfeafb6c998
MD5 aaf886524ec0a7c14c919452286ce751
BLAKE2b-256 163504a075bc2a2a8c0a781cde8843af4417dc07c0f4997872f318e60893a9d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for testforge_cli_utils-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf6f42ee2fb7efb7a4dee7420395a97976a4e6d295c5bcf2868ae4219f0392b9
MD5 357bb2eddbb89f2a36aa685bca42d543
BLAKE2b-256 554853083729bad0062e13edd823218ba858e4c798a190ec899fee00de6e98d1

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