Files
aitbc/tests/verification
aitbc 0081b9ee4d
Some checks failed
Python Tests / test-python (push) Failing after 10s
P2P Network Verification / p2p-verification (push) Successful in 7s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 7s
feat: migrate tests to use centralized aitbc package utilities
- Migrate HTTP client usage from httpx/requests to aitbc.AITBCHTTPClient
- Update test_payment_integration.py to use AITBCHTTPClient and get_logger
- Fix typo in test_cross_node_blockchain.py (NetworkErroration -> NetworkError)
- Add aitbc validators to test_model_validation.py (validate_address, validate_hash)
- conftest.py already uses aitbc path utilities (get_data_path, get_log_path)
- Other test files already migrated (test_tx_import, test_simple_import, test_minimal, test_block_import_complete, verify_transactions_fixed)
2026-04-24 21:50:35 +02:00
..
2026-04-21 21:15:27 +02:00
2026-04-21 21:15:27 +02:00

Testing Scripts

This directory contains various test scripts and utilities for testing the AITBC platform.

Test Scripts

Block Import Tests

  • test_block_import.py - Main block import endpoint test
  • test_block_import_complete.py - Comprehensive block import test suite
  • test_simple_import.py - Simple block import test
  • test_tx_import.py - Transaction import test
  • test_tx_model.py - Transaction model validation test
  • test_minimal.py - Minimal test case
  • test_model_validation.py - Model validation test

Payment Tests

  • test_payment_integration.py - Payment integration test suite
  • test_payment_local.py - Local payment testing

Test Runners

  • run_test_suite.py - Main test suite runner
  • run_tests.py - Simple test runner
  • verify_windsurf_tests.py - Verify Windsurf test configuration
  • register_test_clients.py - Register test clients for testing

Usage

Most test scripts can be run directly with Python:

python3 test_block_import.py

Some scripts may require specific environment setup or configuration.