This directory contains end-to-end tests for ArcadeDB using Python.
This project uses UV as the package manager.
# Install UV if not already installed
pip install uv
# Install dependencies
uv pip install -e .pytestTests for PostgreSQL wire protocol compatibility using the Python asyncpg driver.
cd e2e-python
pip install -e .# All asyncpg tests
pytest tests/test_asyncpg.py -v
# Specific test
pytest tests/test_asyncpg.py::test_parameterized_select -v
# With logging
pytest tests/test_asyncpg.py -v --log-cli-level=DEBUG- Basic Connection - Verify asyncpg can connect to ArcadeDB
- Simple Queries - SELECT queries without parameters
- Type Creation - CREATE DOCUMENT TYPE and INSERT operations
- Parameterized Queries (Issue #1630)
- Single parameter SELECT
- Multiple parameter SELECT
- Parameterized INSERT
- Transactions - Transaction commit and rollback support
Tests use testcontainers to automatically:
- Pull arcadedata/arcadedb:latest image
- Start container with PostgreSQL plugin enabled
- Create asyncpg_testdb database
- Wait for server readiness
- Clean up after tests