Sprintest

raw JSON →
1.1.1 verified Sat May 09 auth: no python

A client-server architecture test runner designed for heavy AI projects, enabling distributed test execution. Current version 1.1.1, released on PyPI with monthly updates.

pip install sprintest
error ModuleNotFoundError: No module named 'sprintest'
cause sprintest package not installed or installed in wrong environment.
fix
Run 'pip install sprintest' in the correct Python environment.
error ConnectionRefusedError: [Errno 111] Connection refused
cause The server is not running when client attempts to connect.
fix
Start the server before running the client. Ensure host and port match.
gotcha The server must be started before any client can connect. Starting client first results in connection error.
fix Ensure server.start() is called before client.run_tests().
gotcha The 'sprintest' module is not importable; import from submodules 'sprintest.client' and 'sprintest.server'.
fix Use 'from sprintest.client import Client' and 'from sprintest.server import Server'.
deprecated In v1.1.0, the 'run_tests' method changed its signature: 'test_path' is now positional-only.
fix Call client.run_tests('path/to/tests') instead of client.run_tests(path='path/to/tests').

Start a server, then run tests via client.

from sprintest.server import Server
from sprintest.client import Client

server = Server(host='localhost', port=5555)
server.start()

client = Client(server_address=('localhost', 5555))
client.run_tests('path/to/tests')
server.stop()