Skip to content

Commit 6b64706

Browse files
committed
docs: update test results to reflect 331 passed tests across documentation
1 parent 71944a4 commit 6b64706

10 files changed

Lines changed: 125 additions & 57 deletions

File tree

bindings/python/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Native Python bindings for ArcadeDB - the multi-model database that supports Graph, Document, Key/Value, Search Engine, Time Series, and Vector models.
44

5-
**Status**: ✅ Production Ready | **Tests**: 290 Passed | **Platforms**: 4 Supported
5+
**Status**: ✅ Production Ready | **Tests**: 331 Passed | **Platforms**: 4 Supported
66

77
---
88

@@ -92,7 +92,7 @@ Import: `import arcadedb_embedded as arcadedb`
9292

9393
## 🧪 Testing
9494

95-
**Status**: 290 passed
95+
**Status**: 331 passed
9696

9797
```bash
9898
# Run all tests

bindings/python/docs/development/architecture.md

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,39 @@ The ArcadeDB Python bindings are a **thin wrapper** around the ArcadeDB Java lib
1616
```
1717
arcadedb_embedded/
1818
├── __init__.py # Package exports and version
19-
├── jvm.py # JVM startup (bundled JRE, JAR discovery)
20-
├── core.py # Database, DatabaseFactory, convenience helpers
21-
├── graph.py # Document, Vertex, Edge wrappers
22-
├── schema.py # Schema/Index/Property helpers
23-
├── type_conversion.py # Java ↔ Python value conversion
19+
├── _logging.py # Internal logging helpers
2420
├── async_executor.py # Async command/query + record wrapper
21+
├── citation.py # Citation DOI helpers
22+
├── core.py # Database, DatabaseFactory, convenience helpers
23+
├── exceptions.py # ArcadeDBError (unified exceptions)
2524
├── exporter.py # Export (JSONL/GraphML/GraphSON + CSV helper)
26-
├── vector.py # VectorIndex + array helpers
25+
├── graph.py # Document, Vertex, Edge wrappers
26+
├── graph_batch.py # High-throughput graph ingest wrapper
27+
├── importer.py # Document import helpers and result payloads
28+
├── jvm.py # JVM startup (bundled JRE, JAR discovery)
2729
├── results.py # ResultSet, Result (query results)
28-
├── transactions.py # TransactionContext (ACID guard)
30+
├── schema.py # Schema/Index/Property helpers
2931
├── server.py # ArcadeDBServer (HTTP/Studio)
30-
└── exceptions.py # ArcadeDBError (unified exceptions)
32+
├── transactions.py # TransactionContext (ACID guard)
33+
├── type_conversion.py # Java ↔ Python value conversion
34+
└── vector.py # VectorIndex + array helpers
3135
```
3236

3337
### Module Responsibilities
3438

3539
**`__init__.py`**
3640

37-
- Central export surface (Database, AsyncExecutor, Schema, Exporter, VectorIndex, converters)
41+
- Central export surface (Database, AsyncExecutor, GraphBatch, Schema, Exporter, VectorIndex, converters, citation/import helpers)
3842
- Version metadata
3943

44+
**`_logging.py`**
45+
46+
- Internal logger access and swallowed-exception helpers for cleanup/finalizer paths
47+
48+
**`citation.py`**
49+
50+
- `cite()`: resolves version-specific DOI URLs for released Python package versions
51+
4052
**`jvm.py`**
4153

4254
- Starts JVM using bundled JRE and packaged JARs
@@ -56,6 +68,16 @@ arcadedb_embedded/
5668
- Record wrappers: `Document`, `Vertex`, `Edge`
5769
- Property helpers, `new_edge()`, type-aware wrapping from Java records
5870

71+
**`graph_batch.py`**
72+
73+
- `GraphBatch`: builder-backed high-throughput graph ingest API
74+
- Batch vertex/edge creation plus flush/close lifecycle helpers
75+
76+
**`importer.py`**
77+
78+
- `import_documents()`: narrow Python wrapper around document import flows
79+
- `ImportResult`: normalized import result payload and statistics accessor
80+
5981
**`schema.py`**
6082

6183
- `Schema`: type/property/index management

bindings/python/docs/development/build-architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This document describes the build architecture for creating platform-specific Py
1919

2020
**All supported platforms:**
2121

22-
- ✅ Current suite: 290 passed
22+
- ✅ Current suite: 331 passed
2323
- ✅ 31.7M JARs (83 files, identical across platforms)
2424
- ✅ All native runners (no QEMU emulation)
2525
- ✅ Reproducible builds (pinned runner versions)

bindings/python/docs/development/ci-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ All 4 platforms passing the bindings suite and example workflows:
102102

103103
| Platforms | Wheel Size | JRE Size | Tests |
104104
|-----------|-----------|----------|-------|
105-
| linux/amd64, linux/arm64, darwin/arm64, windows/amd64 | ~70-75M | ~60M | 290 passed ✅ |
105+
| linux/amd64, linux/arm64, darwin/arm64, windows/amd64 | ~70-75M | ~60M | 331 passed ✅ |
106106

107107
**All platforms include:**
108108

bindings/python/docs/development/contributing.md

Lines changed: 37 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -86,40 +86,55 @@ arcadedb/bindings/python/
8686
├── src/
8787
│ └── arcadedb_embedded/ # Main package
8888
│ ├── __init__.py # Package initialization
89+
│ ├── _logging.py # Internal logging helpers
90+
│ ├── async_executor.py # Async command/query execution
91+
│ ├── citation.py # Citation DOI helpers
8992
│ ├── core.py # Database, DatabaseFactory
90-
│ ├── server.py # ArcadeDBServer
91-
│ ├── schema.py # Schema management
93+
│ ├── exceptions.py # Exception classes
94+
│ ├── exporter.py # Data export (JSONL, GraphML, etc.)
95+
│ ├── graph.py # Graph wrappers
96+
│ ├── graph_batch.py # Bulk graph ingest helper
97+
│ ├── importer.py # Import helpers
98+
│ ├── jvm.py # JVM startup logic
9299
│ ├── results.py # Query result handling
100+
│ ├── schema.py # Schema management
101+
│ ├── server.py # ArcadeDBServer
93102
│ ├── transactions.py # Transaction management
94-
│ ├── vector.py # Vector search support
95-
│ ├── graph.py # Graph wrappers
96-
│ ├── exporter.py # Data export (JSONL, GraphML, etc.)
97-
│ ├── async_executor.py # Async command/query execution
98103
│ ├── type_conversion.py # Python-Java type conversion
99-
│ ├── exceptions.py # Exception classes
100-
│ ├── jvm.py # JVM startup logic
101-
│ ├── _version.py # Version info
102-
│ └── jars/ # JAR files (bundled/downloaded)
104+
│ └── vector.py # Vector search support
103105
├── tests/
104106
│ ├── __init__.py
105107
│ ├── conftest.py # pytest fixtures
106108
│ ├── README.md # Testing documentation
107-
│ ├── test_core.py # Core tests
108-
│ ├── test_server.py # Server tests
109-
│ ├── test_schema.py # Schema tests
110-
│ ├── test_resultset.py # Result handling tests
111-
│ ├── test_import_database.py # Import database tests
112-
│ ├── test_exporter.py # Exporter tests
113-
│ ├── test_vector.py # Vector search tests
114-
│ ├── test_vector_sql.py # Vector SQL tests
115-
│ ├── test_cypher.py # OpenCypher tests
116109
│ ├── test_async_executor.py # Async execution tests
117-
│ ├── test_type_conversion.py # Type conversion tests
118-
│ ├── test_transaction_config.py # Transaction tests
119110
│ ├── test_concurrency.py # Concurrency tests
111+
│ ├── test_core.py # Core tests
112+
│ ├── test_cypher.py # OpenCypher tests
120113
│ ├── test_database_utils.py # Database utilities tests
114+
│ ├── test_docs_examples.py # Docs example tests
115+
│ ├── test_exporter.py # Exporter tests
116+
│ ├── test_geo_predicate_sql.py # Geospatial SQL tests
117+
│ ├── test_graph_algorithms_sql.py # Graph algorithm SQL tests
118+
│ ├── test_graph_api.py # Graph API tests
119+
│ ├── test_graph_batch.py # GraphBatch tests
120+
│ ├── test_hash_index_schema.py # HASH index schema tests
121+
│ ├── test_import_database.py # Import database tests
122+
│ ├── test_importer_api.py # Import helper tests
123+
│ ├── test_jvm_args.py # JVM argument tests
124+
│ ├── test_logging_helper.py # Logging helper tests
125+
│ ├── test_materialized_view_sql.py # Materialized view SQL tests
121126
│ ├── test_numpy_support.py # NumPy integration tests
122-
│ └── test_server_patterns.py # Server pattern tests
127+
│ ├── test_resultset.py # Result handling tests
128+
│ ├── test_schema.py # Schema tests
129+
│ ├── test_server.py # Server tests
130+
│ ├── test_server_patterns.py # Server pattern tests
131+
│ ├── test_timeseries_sql.py # Timeseries SQL tests
132+
│ ├── test_transaction_config.py # Transaction tests
133+
│ ├── test_type_conversion.py # Type conversion tests
134+
│ ├── test_vector.py # Vector search tests
135+
│ ├── test_vector_sql.py # Vector SQL tests
136+
│ ├── test_vector_params_verification.py # Vector parameter validation tests
137+
│ └── test_wheel_platform_tag.py # Wheel platform tag tests
123138
├── docs/ # MkDocs documentation
124139
│ ├── getting-started/
125140
│ ├── guide/

bindings/python/docs/development/testing.md

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Comprehensive testing documentation for ArcadeDB Python bindings.
55
!!! success "Test Coverage"
66
Current bindings suite
77

8-
- **Current package**: 290 passed
8+
- **Current package**: 331 passed
99
- All ArcadeDB features working (SQL, OpenCypher, Studio)
1010

1111
## Quick Navigation
@@ -188,22 +188,40 @@ pytest -v -rs
188188

189189
## Test Organization
190190

191+
This is the current live test tree under `bindings/python/tests`. Exact test counts evolve, so this section lists files and responsibilities rather than hardcoding per-file totals.
192+
191193
```bash
192194
tests/
193-
├── test_core.py # Core operations (13 tests)
194-
├── test_server.py # Server mode (6 tests)
195-
├── test_concurrency.py # Concurrency (4 tests)
196-
├── test_server_patterns.py # Patterns (4 tests)
197-
├── test_graph_batch.py # Bulk graph ingest helper
198-
├── test_graph_algorithms_sql.py # shortestPath / dijkstra / astar
199-
├── test_geo_predicate_sql.py # Geospatial SQL predicates
200-
├── test_timeseries_sql.py # Timeseries SQL coverage
201-
├── test_materialized_view_sql.py # Materialized view lifecycle
202-
├── test_hash_index_schema.py # HASH index schema API coverage
203-
├── test_import_database.py # Import database tests
204-
├── test_docs_examples.py # Validates runnable docs examples
205-
├── test_cypher.py # OpenCypher (tests)
206-
└── conftest.py # Shared fixtures
195+
├── conftest.py # Shared fixtures
196+
├── test_async_executor.py # Async execution tests
197+
├── test_concurrency.py # Concurrency tests
198+
├── test_core.py # Core operations
199+
├── test_cypher.py # OpenCypher tests
200+
├── test_database_utils.py # Database utility tests
201+
├── test_docs_examples.py # Runnable docs example tests
202+
├── test_exporter.py # Exporter tests
203+
├── test_geo_predicate_sql.py # Geospatial SQL predicate tests
204+
├── test_graph_algorithms_sql.py # shortestPath / dijkstra / astar
205+
├── test_graph_api.py # Graph API tests
206+
├── test_graph_batch.py # Bulk graph ingest helper
207+
├── test_hash_index_schema.py # HASH index schema tests
208+
├── test_import_database.py # SQL import workflow tests
209+
├── test_importer_api.py # Import helper wrapper tests
210+
├── test_jvm_args.py # JVM argument tests
211+
├── test_logging_helper.py # Internal logging helper tests
212+
├── test_materialized_view_sql.py # Materialized view lifecycle
213+
├── test_numpy_support.py # NumPy integration tests
214+
├── test_resultset.py # Result handling tests
215+
├── test_schema.py # Schema tests
216+
├── test_server.py # Server tests
217+
├── test_server_patterns.py # Embedded/server access patterns
218+
├── test_timeseries_sql.py # Timeseries SQL coverage
219+
├── test_transaction_config.py # Transaction config tests
220+
├── test_type_conversion.py # Type conversion tests
221+
├── test_vector.py # Vector API tests
222+
├── test_vector_params_verification.py # Vector parameter validation tests
223+
├── test_vector_sql.py # Vector SQL tests
224+
└── test_wheel_platform_tag.py # Wheel platform tag tests
207225
```
208226

209227
## Next Steps

bindings/python/docs/development/testing/overview.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The ArcadeDB Python bindings have a comprehensive test suite covering all major
55
## Quick Statistics
66

77
!!! success "Test Results"
8-
- **Current package**: ✅ 290 passed
8+
- **Current package**: ✅ 331 passed
99
- Environment-specific skips may vary depending on optional components
1010

1111
## What's Tested
@@ -75,12 +75,21 @@ Test counts evolve over time. For the latest per-file counts, run `pytest -v -rs
7575

7676
| Test File | Description |
7777
| --------- | ----------- |
78+
| [`test_async_executor.py`](test-async-executor.md) | Async command/query execution and callback behavior |
79+
| [`test_core.py`](test-core.md) | Core database operations, CRUD, transactions, queries |
80+
| [`test_database_utils.py`](test-database-utils.md) | Database utility helpers and initialization behavior |
81+
| [`test_docs_examples.py`](test-docs-examples.md) | Executes representative Python snippets from the documentation site |
82+
| [`test_exporter.py`](test-exporter.md) | Database export formats and CSV result export helpers |
83+
| [`test_graph_api.py`](test-graph-api.md) | Graph wrapper behavior for vertices, edges, and traversal helpers |
84+
| [`test_importer_api.py`](test-importer.md) | Narrow `db.import_documents(...)` wrapper coverage |
85+
| [`test_numpy_support.py`](test-numpy-support.md) | NumPy integration and array conversion behavior |
86+
| [`test_resultset.py`](test-resultset.md) | Result and ResultSet iteration, accessors, and export helpers |
87+
| [`test_schema.py`](test-schema.md) | Schema, property, and index management behavior |
7888
| [`test_core.py`](test-core.md) | Core database operations, CRUD, transactions, queries |
7989
| [`test_server.py`](test-server.md) | Server mode, HTTP API, configuration |
8090
| [`test_concurrency.py`](test-concurrency.md) | File locking, thread safety, multi-process behavior |
8191
| [`test_server_patterns.py`](test-server-patterns.md) | Best practices for embedded + server mode |
8292
| [`test_import_database.py`](test-importer.md) | SQL `IMPORT DATABASE` scenarios and format coverage |
83-
| [`test_docs_examples.py`](test-docs-examples.md) | Executes representative Python snippets from the documentation site |
8493
| [`test_cypher.py`](test-opencypher.md) | OpenCypher query language |
8594
| [`test_graph_batch.py`](test-graph-batch.md) | Bulk graph-ingest helper coverage |
8695
| [`test_geo_predicate_sql.py`](test-geo-predicate-sql.md) | Geospatial SQL predicate semantics |
@@ -89,7 +98,11 @@ Test counts evolve over time. For the latest per-file counts, run `pytest -v -rs
8998
| [`test_graph_algorithms_sql.py`](test-graph-algorithms-sql.md) | SQL graph algorithm runtime coverage |
9099
| [`test_hash_index_schema.py`](test-hash-index-schema.md) | HASH index schema API behavior |
91100
| [`test_jvm_args.py`](test-jvm-args.md) | JVM args handling |
101+
| [`test_transaction_config.py`](test-transaction-config.md) | Transaction configuration and rollback semantics |
102+
| [`test_type_conversion.py`](test-type-conversion.md) | Python/Java type conversion coverage |
103+
| [`test_vector.py`](test-vector.md) | Vector API and nearest-neighbor search behavior |
92104
| [`test_vector_params_verification.py`](test-vector-params-verification.md) | Vector param validation |
105+
| [`test_vector_sql.py`](test-vector-sql.md) | SQL vector functions, index creation, and search flows |
93106

94107
## Common Testing Workflows
95108

@@ -142,7 +155,7 @@ pytest -m "not slow"
142155
When the current bindings test suite passes, you should see a clean all-green summary.
143156

144157
```text
145-
======================== 290 passed ========================
158+
======================== 331 passed ========================
146159
```
147160

148161
## Next Steps

bindings/python/docs/getting-started/distributions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Pre-built **platform-specific** wheels are available for **4 platforms**. Sizes
3737
- ✅ All platforms use **platform-specific wheels** (not universal)
3838
- ✅ uv pip automatically selects the correct wheel for your system
3939
- ✅ Each platform has its own bundled JRE optimized for that architecture
40-
- ✅ Current suite validated in the latest local run: 290 passed
40+
- ✅ Current suite validated in the latest local run: 331 passed
4141
- ✅ Built on native runners (no emulation) for optimal performance
4242

4343
## What's Included
@@ -59,7 +59,7 @@ Pre-built **platform-specific** wheels are available for **4 platforms**. Sizes
5959

6060
## Test Results
6161

62-
The current bindings suite reports **290 passed** in a full local run:
62+
The current bindings suite reports **331 passed** in a full local run:
6363

6464
- ✅ All core database operations
6565
- ✅ SQL and OpenCypher queries

bindings/python/docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Native Python bindings for ArcadeDB with comprehensive embedded/server coverage
1010

1111
- **Status**: ✅ Production Ready
12-
- **Tests**: ✅ 290 passed
12+
- **Tests**: ✅ 331 passed
1313

1414
- :fontawesome-brands-python:{ .lg .middle } **Pure Python API**
1515

bindings/python/tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ For detailed test documentation, examples, and best practices, see the **[Testin
77
## Quick Stats
88

99
- Current bindings suite
10-
-**Current package**: 290 passed
10+
-**Current package**: 331 passed
1111
- Package includes all ArcadeDB features (SQL, OpenCypher, Studio)
1212

1313
## Running Tests

0 commit comments

Comments
 (0)