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.2.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.2-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: testforge_cli_utils-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 af46ca6bc71d6f04b30ec806f3520c30ae27ac1709eb9429802eac9165ae4a4d
MD5 bb5bc6ed6d85f0ede767776cc6811fad
BLAKE2b-256 90daa0359a53b88a1b2cb7f99d0f308567c263c57563977fb9622443169c3b6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for testforge_cli_utils-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c4a8cabe584f9ed616a4992f9ea7da4360e162770e27f820e389bde77414b49f
MD5 b08245df9d4f2923f2c4e7713cd598b9
BLAKE2b-256 4b055b8035944ca1eda0feabe4ba7aa51466ce99cd6680703ea10066005aa306

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