tutorbot/
βββ tests/ # π§ͺ AUTOMATED TESTS
β βββ run_tests.py # Test runner
β βββ test_main.py # Unit tests for main.py
β βββ test_config.py # Configuration tests
β βββ test_setup.py # Setup tests
β βββ test_prefill_overview.py # Prefill functionality tests
β βββ test_api_connection.py # API connection tests
βββ scripts/testing/ # π§ MANUAL TESTING TOOLS
βββ test_bot.py # Manual bot testing
βββ test_chatwoot_api.py # Manual API testing
βββ test_input_select.py # Input select testing
βββ test_real_message.py # Real message testing
βββ test_real_conversation.py # Real conversation testing
βββ show_prefill_overview.py # Prefill overview utility
tests/ - Automated Tests# Run all tests
python3 tests/run_tests.py
# Run specific test categories
python3 tests/run_tests.py --category core
python3 tests/run_tests.py --category api
# Run single test
python3 tests/run_tests.py --test TestTranslation.test_basic_translation
scripts/testing/ - Manual Testing Tools# Manual bot testing
python3 scripts/testing/test_bot.py
# Manual API testing
python3 scripts/testing/test_chatwoot_api.py
# Real message testing
python3 scripts/testing/test_real_message.py
# Show prefill overview
python3 scripts/testing/show_prefill_overview.py
test_bot.py - Test bot functionality manuallytest_chatwoot_api.py - Test Chatwoot API manuallytest_input_select.py - Test input selection manuallytest_real_message.py - Test with real messagestest_real_conversation.py - Test with real conversationsshow_prefill_overview.py - Show prefill overview for debugging| Aspect | tests/ |
scripts/testing/ |
|---|---|---|
| Purpose | Automated testing | Manual testing tools |
| Execution | Via test runner | Direct execution |
| Output | Pass/fail results | Debug information |
| Use Case | CI/CD, quality assurance | Development, debugging |
| Frequency | Run regularly | Run as needed |
| Scope | Comprehensive coverage | Specific scenarios |
tests/ when:scripts/testing/ when:python3 tests/run_tests.pyscripts/testing/ tools for debuggingscripts/testing/tests/ if neededtests/tests/unit/, tests/integration/, tests/manual/scripts/testing/ to scripts/debug/ or scripts/tools/tests/ for automated tests onlytests/README.md - Automated testing documentationscripts/README.md - Scripts organization documentationdocs/INTEGRATION_ROADMAP.md - Integration testing planLast Updated: August 7, 2025
Status: Current structure documented