Commit 95bc751
committed
Add comprehensive tests for ArcadeDB Python bindings
- Implement Gremlin query and traversal tests in `test_gremlin.py`
- Add data import tests for CSV, JSON, and JSONL formats in `test_importer.py`
- Create server-related tests including server creation, database operations, and custom configurations in `test_server.py`
- Introduce tests for server access patterns and thread safety in `test_server_patterns.py`
- Add a script to write version information to `_version.py` during build
Add GitHub Actions workflow for deploying MkDocs to GitHub Pages
Remove GitHub Actions workflow for deploying MkDocs to GitHub Pages
feat: add support for Python-specific patch versioning in version extraction
fix: update permissions for GitHub Actions and enhance version extraction regex
Add Python example for ArcadeDB usage and update documentation
- Created a new example script `basic.py` demonstrating database creation, schema definition, data insertion, and querying using ArcadeDB Python bindings.
- Added a `.gitignore` file in the examples directory to exclude test databases.
- Updated `mkdocs.yml` to reflect changes in the documentation structure and added links to new testing documentation.
- Revised the README in the tests directory to provide a concise overview of the test suite, including quick stats, test categories, and running instructions.
feat: enhance Python release workflows with tag validation and testing
Fix python docs
Refactor Docker build process for Python bindings and enhance version extraction
Enhance Python test suite for ArcadeDB bindings
- Updated README.md to reflect the addition of new tests, increasing total from 41 to 42.
- Improved temporary directory creation in conftest.py with a new factory fixture for better cleanup management.
- Refactored cleanup_db fixture in test_concurrency.py to create temporary databases with unique prefixes.
- Enhanced server and studio tests in test_server.py with detailed comments on Java API usage and server operations.
- Expanded test_server_patterns.py to include HTTP API access pattern tests, demonstrating remote access capabilities and performance comparisons with Java API.
- Increased the complexity of performance tests in test_embedded_performance_comparison.py by adding more realistic data and queries.
Update Python bindings test workflow and improve server documentation formatting
Refactor descriptions in Dockerfile and pyproject.toml to use "bindings" terminology; update module docstring for consistency
Update GitHub Actions to use latest action versions for Python and Docker setup
Update GitHub Actions to use specific commit version for PyPI publish action
Clean up whitespace in write_version.py for improved readability
Refactor test files to remove unnecessary whitespace and improve readability
- Cleaned up whitespace in test_gremlin.py, test_importer.py, test_server.py, and test_server_patterns.py.
- Ensured consistent formatting across test files for better maintainability.
- No functional changes were made; only formatting adjustments to enhance code clarity.
Fix formatting inconsistencies and ensure newline at end of files in documentation and test package
Ensure newline at end of file in .gitignore for consistency
Remove trailing whitespace from documentation and test files for improved consistency and readability
Clean up whitespace in build-all.sh for improved readability1 parent ffbeaf7 commit 95bc751
22 files changed
Lines changed: 664 additions & 677 deletions
File tree
- bindings/python
- examples
- src/arcadedb_embedded
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
24 | 50 | | |
25 | 51 | | |
26 | 52 | | |
27 | 53 | | |
28 | | - | |
| 54 | + | |
29 | 55 | | |
30 | 56 | | |
31 | 57 | | |
| |||
34 | 60 | | |
35 | 61 | | |
36 | 62 | | |
| 63 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
0 commit comments