GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CERN/pts-framework

BranchesTags
Open more actions menu

Latest commit

 

History

507 Commits
507 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
LICENSES
LICENSES
 
 
docs
docs
 
 
images
images
 
 
logo
logo
 
 
spikes
spikes
 
 
src/pypts
src/pypts
 
 
tests
tests
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.gitlab-ci.yml
.gitlab-ci.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 
reuse.toml
reuse.toml
 
 

Repository files navigation

pypts

pypts GIF

Hardware-oriented testing framework developed by BE-CEM-MTA.

Key Features

  • YAML-based Recipes: Define test sequences, steps, parameters, and variables using structured YAML files.
  • Modular Steps: Supports various step types including Python function calls, sub-sequence execution, user interaction prompts, wait times, and indexed steps for running tasks multiple times with varying inputs. Reliable order execution: Unlike pytest-order, the reliably follows the specified order.
  • Variable Scopes: Manages global variables for the recipe and local variables within sequences.
  • Threaded Execution: Runs recipes in a separate thread using pts.run_pts.
  • Incremental Reporting: Generates a detailed CSV report (report.csv) in real-time as steps complete.
  • Contextual Reports: Includes run context (Recipe Name, File Name, Serial Number) and step context (Sequence Name) in reports.
  • HTML Reports: Provides a utility to convert the CSV report into a styled HTML file (report.html) for easy viewing, similar to pytest-html.
  • Event System: Uses queues for inter-thread communication and event reporting (e.g., step start/end).

For full documentation, please visit PTS Framework Documentation.

=======

Continuous integration and releases

The project is tested in a disposable Python 3.13 Docker image. To reproduce the GitHub CI build locally, run:

docker build --build-arg SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PTS_FRAMEWORK=0+local -t pts-framework-ci .
docker run --rm pts-framework-ci

Creating a protected vX.Y.Z tag runs the same tests, builds the wheel and source distribution, and publishes them to TestPyPI. Verify the TestPyPI package in a clean environment before approving the pypi GitHub Environment:

python -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ pts-framework==X.Y.Z

Approval publishes the same distributions to PyPI. GitHub retains the release artifact for 30 days; PyPI is the permanent package source. See release configuration for the one-time setup.

Licences

pypts is distributed under the LGPL-2.1-or-later licence.

pypts comes with a dependency licence compatibility analysis report.

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

3 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.