chore: remove obsolete payment architecture and integration test documentation - Remove AITBC_PAYMENT_ARCHITECTURE.md (dual-currency system documentation) - Remove IMPLEMENTATION_COMPLETE_SUMMARY.md (integration test completion summary) - Remove INTEGRATION_TEST_FIXES.md (test fixes documentation) - Remove INTEGRATION_TEST_UPDATES.md (real features implementation notes) - Remove PAYMENT_INTEGRATION_COMPLETE.md (wallet-coordinator integration docs) - Remove WALLET_COORDINATOR_INTEGRATION.md (payment
1.4 KiB
1.4 KiB
Windsurf Test Discovery Setup
Issue
Unittest discovery errors when using Windsurf's test runner with the tests/ folder.
Solution
- Updated pyproject.toml - Added
teststo the testpaths configuration - Created minimal conftest.py - Removed complex imports that were causing discovery failures
- Test discovery now works for files matching
test_*.pypattern
Current Status
- ✅ Test discovery works for simple tests (e.g.,
tests/test_discovery.py) - ✅ All
test_*.pyfiles are discovered by pytest - ⚠️ Tests with complex imports may fail during execution due to module path issues
Running Tests
For test discovery only (Windsurf integration):
cd /home/oib/windsurf/aitbc
python -m pytest --collect-only tests/
For running all tests (with full setup):
cd /home/oib/windsurf/aitbc
python run_tests.py tests/
Test Files Found
tests/e2e/test_wallet_daemon.pytests/integration/test_blockchain_node.pytests/security/test_confidential_transactions.pytests/unit/test_coordinator_api.pytests/test_discovery.py(simple test file)
Notes
- The original
conftest_full.pycontains complex fixtures requiring full module setup - To run tests with full functionality, restore
conftest_full.pyand use the wrapper script - For Windsurf's test discovery, the minimal
conftest.pyprovides better experience