Search by

pushinbr / pam-http-testing

In-memory HTTP testing utilities for Pam applications.

Maintainers

Package info

github.com/push-in/pam-http-testing

pkg:composer/pushinbr/pam-http-testing

Transparency log

Statistics

Installs: 11

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-08-22 23:55 UTC

This package is auto-updated.

Last update: 2026-08-23 00:16:36 UTC


README

Fast in-memory tests for applications built with pushinbr/pam-http.

Start here

PAM HTTP Testing is a Composer package for applications running on the PAM Runtime; it is not a standalone test runtime. Install PAM first, open your application directory, and add the development package through PAM's Composer toolchain:

curl --proto '=https' --proto-redir '=https' --tlsv1.2 \
    --connect-timeout 15 --max-time 60 --max-filesize 1048576 -fsSL \
    https://github.com/push-in/pam/releases/latest/download/install.sh | sh

pam doctor
cd my-app
pam composer require --dev pushinbr/pam-http-testing
$client = new Pam\Http\Testing\TestClient($app);
$client->get('/users/42')
    ->assertSuccessful()
    ->assertJsonPath('id', '42');

The client invokes the application pipeline without opening a network port. Use Pam's Rust integration suite for transport, timeout and protocol behavior.

License

Free and open-source under the Apache License 2.0. You may use, modify, and distribute this package for any purpose, including commercially.