1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
//! Integration test suite for AGPM
//!
//! This test suite contains comprehensive end-to-end integration tests that verify
//! the complete functionality of AGPM commands and workflows. These tests run relatively
//! quickly and are executed in CI on every commit.
//!
//! # Running Integration Tests
//!
//! ```bash
//! cargo test --test integration
//! cargo nextest run --test integration
//! ```
//!
//! # Test Organization
//!
//! Tests are organized by functionality area:
//! - **cache_behavior**: Cache and worktree management
//! - **conflict_detection**: Version conflict detection
//! - **content_filter**: Content filter (`{{ 'path' | content }}`) functionality
//! - **cross_platform**: Cross-platform compatibility (Windows, macOS, Linux)
//! - **deploy**: Deployment and installation workflows
//! - **deps_refresh**: Dependency refresh and update logic
//! - **error_scenarios**: Error handling and edge cases
//! - **file_url**: file:// URL support
//! - **gitignore**: .gitignore management
//! - **hooks**: Claude Code hooks integration
//! - **incremental_add**: Incremental dependency addition
//! - **install_field**: Install field and content embedding functionality
//! - **list**: List command functionality
//! - **lockfile_staleness**: Lockfile staleness detection
//! - **max_parallel_flag**: --max-parallel flag behavior
//! - **multi_artifact**: Multiple artifact types
//! - **multi_resource**: Multiple resource management
//! - **outdated**: Outdated dependency detection
//! - **patch_integration**: Patch/override functionality
//! - **pattern**: Pattern-based dependency installation
//! - **transitive**: Transitive dependency resolution
//! - **tree**: Dependency tree visualization
//! - **upd_progress**: Update progress reporting
//! - **upgrade**: Self-upgrade functionality
//! - **validate**: Validation command
//! - **versioning**: Version constraint handling
// Shared test utilities (from parent tests/ directory)
// Test configuration (used by versioning tests)
// Integration tests