Metadata-Version: 2.5
Name: paragon-ultimate-tester
Version: 1.0.0
Summary: A calm, multi-method testing tool for Python projects, with plain-English reports.
Project-URL: Homepage, https://dobybaxter127.gitlab.io/paragon-ultimate-tester/
Project-URL: Source, https://gitlab.com/dobybaxter127/paragon-ultimate-tester
Author: Doby Baxter
License-Expression: MIT
License-File: LICENSE
License-File: art/NOTICE.md
Keywords: coverage,mutation testing,property-based testing,pytest,testing
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.11
Requires-Dist: cryptography<52,>=50
Requires-Dist: uv<0.14,>=0.13.12
Description-Content-Type: text/markdown

<p align="center">
  <img src="https://gitlab.com/dobybaxter127/paragon-ultimate-tester/-/raw/main/art/hero-cutout.png" alt="Paragon, a flying hero in a navy suit with gold trim, a crimson cape and a gold P badge, in front of an orange moon" width="240">
</p>

# Paragon Ultimate Tester

Paragon Ultimate Tester is a free, open-source testing tool for Python projects. You start it inside a project folder, a page opens in your browser, you pick one testing method from a list, and you watch a calm animation while it runs. When it finishes, a plain-English report appears on the same page, ready to download.

Good open-source testing tools exist for every method Paragon uses, but each one has its own setup, its own output and its own vocabulary. Paragon puts the best tool for each method behind one calm, consistent page, with reports anyone can read. It follows the "No Silent Failure" standard: whatever it could not check, the report says so, and why.

## Install

```
pip install paragon-ultimate-tester
```

Then go to a Python project folder and start it:

```
cd path/to/your/project
paragon
```

Paragon is on PyPI at https://pypi.org/project/paragon-ultimate-tester/ and has a page at https://dobybaxter127.gitlab.io/paragon-ultimate-tester/.

## What it checks

All twelve methods work today: property-based testing, round trips, action sequences, logic checking, mutation testing, coverage, type checking, the silent-failure scan, what-if failures, same answer as before, test independence and differential.

Each run happens in a private workbench: a scratch copy of your project plus its own environment with the method's tool. Your project folder and your Python setup are only ever read, never changed.

## Guard rails

Coverage, test independence and mutation testing run your project's own tests. While they run, Paragon's guard rails stop network connections that leave your computer; connections to your computer itself still work. Temporary files go inside Paragon's data folder. A test that needed the internet is listed in the report, and never counted as a problem with your code.

Property-based testing and round trips call your functions directly. While Paragon calls them, file writes stay in memory, every network connection is stopped, and starting other programs is stopped. A way to start programs that a file took before Paragon's guard rails began, for example with "from os import system" at its top, is stopped too. One gap remains: a way to start programs kept somewhere else, such as inside a list, can still start programs while Paragon calls it.

What-if failures, same answer as before and differential also call your functions, under the same guard rails. What-if failures fakes the files your code uses, so a missing file, a refused permission or a full disk never touches your real folder. Differential reads your git history only: it lists tags and commits and exports an earlier version with `git archive`, and never changes your repository or its settings.

Guard rails lower the risk, but they cannot cover everything: code written in C, and programs that are not Python, can get around them. Run Paragon on a copy of your project, never on a live system.

## How Paragon is built

```
 user's browser                        user's computer
 ┌──────────────────────┐   HTTP + event stream   ┌─────────────────────────────┐
 │ Paragon page         │ ◄─────────────────────► │ helper  (paragon command)   │
 │ (HTML, CSS, JS)      │   127.0.0.1 only        │  · serves the page          │
 └──────────────────────┘   secret session token  │  · fixed list of actions    │
                                                  │  · runs one method at a time│
        GitLab Pages ──── newest page at start ──►│                             │
        (bundled copy used when offline)          └──────────────┬──────────────┘
                                                                 │ builds and runs
                                                  ┌──────────────▼──────────────┐
                                                  │ workbench (Paragon's folder)│
                                                  │  · scratch copy of project  │
                                                  │  · private env (uv): project│
                                                  │    needs + one tool         │
                                                  └─────────────────────────────┘
 user's project folder: only ever read
```

The helper is the `paragon` command. It listens on 127.0.0.1 only, so nothing outside your computer can reach it. Each session gets its own secret token, and every request must carry it. The helper offers a fixed list of actions. No action takes a path, a command or code from the page.

The page is plain HTML, CSS and JavaScript. At start, the helper fetches the newest page from GitLab Pages, within one 3-second limit for the whole fetch. It serves that page only when its Ed25519 signature and every file's hash check out. Otherwise it serves the installed copy and shows a short notice saying why. Strict browser rules (a Content-Security-Policy header) apply either way.

The workbench is a scratch copy of your project plus a private environment built with uv. Your project folder is only read.

Paragon's only network use is that page fetch and the package downloads uv makes. The page fetch uses your computer's proxy settings if it has any.

The decisions behind this design are recorded on Doby's website, at https://dobybaxter127.gitlab.io/adr/.

## Where Paragon keeps its files

Reports, workbenches and Paragon's download cache live in one data folder. By default it is your operating system's usual place for per-user app data. To keep it somewhere else, for example on an encrypted drive, start Paragon with `--data-dir PATH` or set the `PARAGON_HOME` environment variable.

`paragon clean` deletes the workbenches and the cache after showing what it will delete and its size. It never deletes reports.

## Run it from source

Paragon needs Python 3.11 or newer, and a source checkout is set up with [uv](https://docs.astral.sh/uv/). In the repository folder, run:

```
uv sync
```

That makes a `.venv` folder with Paragon and its test tools. Then start Paragon on a Python project by naming its folder:

```
uv run paragon path/to/your/project
```

The page opens in your browser. To give differential another copy of your project to compare with, add `--compare-with PATH`.

To run the tests, use `uv run pytest -m "not workbench"` for the fast ones and, with Node.js, `node --test "tests/js/*.test.mjs"` for the page's tests. GitLab CI runs the same commands.

Every push to `main` republishes the page, and every installed helper fetches it at start. So a page change that needs a new helper action or a new `project_info` field must raise `PAGE_API` in `src/paragon/page_source.py` and ship in a new release.

## License

Paragon's code and page are released under the MIT license, copyright (c) 2026 Doby Baxter. See `LICENSE`.

The hero art and everything made from it (the cut-out, the top-bar image and the favicon) are not covered by the MIT license. They are © 2026 Doby Baxter, all rights reserved. See `art/NOTICE.md`.
