This release is a pre-release and may not be stable for production use.
forge-mvc-testing
Infrastructure de test partagée pour le framework Forge (ADR-041).
Ce paquet réservé au développement fournit de quoi tester Forge, ses opt-ins officiels, et les opt-ins ou applications développés par des tiers :
FakeRequest: une fausse requête HTTP pour tester contrôleurs et helpers sans serveur ;- un plugin pytest (chargé automatiquement à l'installation) dont les fixtures autouse configurent le noyau Forge et réinitialisent l'état partagé entre tests (compteurs de tentatives, anti-replay, échecs d'audit).
Statut
forge-mvc-testing est en Development Status :: 4 - Beta, aligné sur la
version du cœur. C'est un outil de développement : une application ne
l'importe jamais à l'exécution.
Installation
pip install --pre forge-mvc-testing
En général comme dépendance de développement, par exemple dans
requirements-dev.txt :
forge-mvc-testing
Utilisation
from forge_mvc_testing import FakeRequest
def test_mon_controleur():
request = FakeRequest(method="GET", query={"page": "2"})
response = MonControleur.index(request)
assert response.status == 200
Le plugin pytest s'active dès que le paquet est installé : ses fixtures autouse préparent le noyau Forge et nettoient l'état partagé avant chaque test, sans configuration.
Licence
Distribué sous licence propriétaire Forge (LicenseRef-Forge-Proprietary),
comme le reste du framework. Voir LICENSE.
Metadata
Release files for forge-mvc-testing 1.0.0rc9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| forge_mvc_testing-1.0.0rc9.tar.gz | 39.1 kB | Without provenance | Details for forge_mvc_testing-1.0.0rc9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| forge_mvc_testing-1.0.0rc9-py3-none-any.whl | Python 3 | none | any | Details for forge_mvc_testing-1.0.0rc9-py3-none-any.whl |
Total release size: 71.2 kB
Release files / forge_mvc_testing-1.0.0rc9.tar.gz
| Download URL | forge_mvc_testing-1.0.0rc9.tar.gz |
|---|---|
| Size | 39.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b3d7cbdf0db67668fd29aa0410c5ea3998dec40576da987639760f07da3f4dc
|
|
BLAKE2b-256 checksum How to use checksums |
54f51fa392ec610beb00a00f539f749de31927ee3b8419d22a6d8705bbcb8336
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / forge_mvc_testing-1.0.0rc9-py3-none-any.whl
| Download URL | forge_mvc_testing-1.0.0rc9-py3-none-any.whl |
|---|---|
| Size | 32.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b07f291619de23eb11f8e702a0233e0c3eab49baa5bac7119c84f6287bc3cb0
|
|
BLAKE2b-256 checksum How to use checksums |
49da1d99d5d2a6841715eea8c1e0ff4733ec2d3b5e0527cfa77f1af3d838f6d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for forge-mvc-testing 1.0.0rc9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.