Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 3s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 3s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 5s
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 2s
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m18s
Integration Tests / test-service-integration (push) Successful in 1m23s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Successful in 2s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Failing after 44s
Security Scanning / security-scan (push) Successful in 42s
Cross-Chain Functionality Tests / aggregate-results (push) Successful in 2s
- Validate block hash is 0x + 64 hex chars; return 400 for invalid format - Fixes test_block_import and test_block_import_complete CI failures - Update test_block_import_complete Test 2 to expect 400 (invalid hash format) instead of 409 (conflict); invalid hash is now rejected before DB lookup - Move re import to top of router.py
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.