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.3.tar.gz (20.4 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.3-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: testforge_cli_utils-0.1.3.tar.gz
  • Upload date:
  • Size: 20.4 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.3.tar.gz
Algorithm Hash digest
SHA256 af45292ad652abb1d9acbee5ac7409cb643c4476c41f957268df597bf333c2e3
MD5 0bda0ab990d98f20a71ac4bc76b7350a
BLAKE2b-256 c637425f29a2ab6dd71eb2a8d0f4809d4f5c63fd8cbf585f398c3fec54d4e02a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for testforge_cli_utils-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8b380346316f01b77f18c1c7d5d649d144e462a472a3c2d7439b45f0328164cc
MD5 9ec91eb85ba9f30d1967bb953fd5f71c
BLAKE2b-256 cfb750a12c8b1d6afe46833534d1e0a1eef0c9e1ade004e0147bcb33d4464264

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