Skip to content

Commit 5424e66

Browse files
leonidbclaude
andcommitted
refactor: Organize generator tests into dedicated folders
Move InsightfulTextGenerator tests into nested folder structure: - Created: tests/agentune/analyze/feature/gen/insightful_text_generator/ - Moved 7 test files: test_e2e.py, test_e2e_blackbox.py, test_feature_classes.py, test_llm_based_deduplicator.py, test_prompts.py, test_type_detection.py, test_utils.py - Added __init__.py to new folder - Updated conftest.py import paths This matches the SemanticInsightsGenerator test structure and provides better organization as more generators are added. Test structure now: tests/agentune/analyze/feature/gen/ ├── insightful_text_generator/ # TextInsights tests │ ├── __init__.py │ ├── test_e2e.py │ ├── test_e2e_blackbox.py │ ├── test_feature_classes.py │ ├── test_llm_based_deduplicator.py │ ├── test_prompts.py │ ├── test_type_detection.py │ └── test_utils.py ├── semantic_insights_generator/ # SemanticInsights tests │ ├── __init__.py │ └── test_e2e.py └── conftest.py All tests verified passing after reorganization. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 043e296 commit 5424e66

9 files changed

Lines changed: 3 additions & 2 deletions

File tree

tests/agentune/analyze/feature/gen/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import pytest
44

5-
# Import fixtures from test_e2e.py to make them available to all tests in this directory
6-
from tests.agentune.analyze.feature.gen.test_e2e import (
5+
# Import fixtures from insightful_text_generator tests to make them available to all tests
6+
from tests.agentune.analyze.feature.gen.insightful_text_generator.test_e2e import (
77
problem,
88
real_llm_with_spec,
99
test_dataset_with_strategy,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Tests for InsightfulTextGenerator (ConversationQueryFeatureGenerator)."""

tests/agentune/analyze/feature/gen/test_e2e.py renamed to tests/agentune/analyze/feature/gen/insightful_text_generator/test_e2e.py

File renamed without changes.

tests/agentune/analyze/feature/gen/test_e2e_blackbox.py renamed to tests/agentune/analyze/feature/gen/insightful_text_generator/test_e2e_blackbox.py

File renamed without changes.

tests/agentune/analyze/feature/gen/test_feature_classes.py renamed to tests/agentune/analyze/feature/gen/insightful_text_generator/test_feature_classes.py

File renamed without changes.

tests/agentune/analyze/feature/gen/test_llm_based_deduplicator.py renamed to tests/agentune/analyze/feature/gen/insightful_text_generator/test_llm_based_deduplicator.py

File renamed without changes.

tests/agentune/analyze/feature/gen/test_prompts.py renamed to tests/agentune/analyze/feature/gen/insightful_text_generator/test_prompts.py

File renamed without changes.

tests/agentune/analyze/feature/gen/test_type_detection.py renamed to tests/agentune/analyze/feature/gen/insightful_text_generator/test_type_detection.py

File renamed without changes.

tests/agentune/analyze/feature/gen/test_utils.py renamed to tests/agentune/analyze/feature/gen/insightful_text_generator/test_utils.py

File renamed without changes.

0 commit comments

Comments
 (0)