()
| 357 | # ============== MAIN ============== |
| 358 | |
| 359 | def main(): |
| 360 | create_session() |
| 361 | name = "kv_store_comprehensive_test" |
| 362 | |
| 363 | create_db(name, "Comprehensive KV store test") |
| 364 | create_index(name) |
| 365 | |
| 366 | print("="*50) |
| 367 | print("Running Comprehensive Key-Value Store Tests") |
| 368 | print("="*50) |
| 369 | |
| 370 | # Run all tests |
| 371 | test_basic_upsert_lookup(name) |
| 372 | test_unicode_content(name) |
| 373 | test_special_characters(name) |
| 374 | test_large_value(name) |
| 375 | test_json_value(name) |
| 376 | test_bulk_upsert(name) |
| 377 | test_key_not_found(name) |
| 378 | test_transaction_abort(name) |
| 379 | test_multiple_transactions(name) |
| 380 | test_binary_like_content(name) |
| 381 | test_key_variations(name) |
| 382 | |
| 383 | results.summary() |
| 384 | |
| 385 | # Cleanup |
| 386 | print("\nCleaning up...") |
| 387 | delete_collection(name) |
| 388 | print("Done.") |
| 389 | |
| 390 | if __name__ == "__main__": |
| 391 | main() |
no test coverage detected