doc: update for next release

This commit is contained in:
TechnoPorg committed 2026-02-19 21:14:03 +01:00
1 parent a13f148778
commit 766555bef4
24 files changed
+224 -878

No files matched your search

+6 -24
View File
@@ -4,22 +4,6 @@
Integration and performance tests for dagx. Unit tests live in `src/{module}/tests.rs`.
## Directory Structure
```
tests/
├── common/ # Shared test utilities
├── dependencies/ # Dependency resolution tests
├── execution/ # Task execution and DAG running
├── parallelism/ # Parallel execution verification
├── panic/ # Panic handling and isolation
├── performance/ # Stress tests and benchmarks
├── runtimes/ # Runtime compatibility tests
├── task_patterns/ # Common task pattern tests
├── type_safety/ # Type system validation
└── lib_tests.rs # Main test entry point
```
## Running Tests
```bash
@@ -56,19 +40,17 @@ cargo test --release -- --ignored
### Integration Tests (`tests/`)
- **execution**: End-to-end DAG execution
- **boundaries**: Edge cases (very large/very small graphs)
- **dependencies**: Complex dependency graphs
- **errors**: Error handling
- **execution**: End-to-end DAG execution
- **interleaving**: Layer interleaving patterns
- **parallelism**: Concurrent task execution
- **panic**: Error propagation and isolation
- **performance**: Large DAGs and stress tests
- **runtimes**: Tokio, async-std, smol compatibility
- **task_patterns**: Common usage patterns
- **type_safety**: Type system guarantees
- **runtimes**: Tokio, smol compatibility
- **tracing**: Execution observability
## Writing Tests
Integration tests use common utilities from `tests/common/mod.rs`.
Unit tests should:
- Test single units of functionality
+2 -2
View File
@@ -65,8 +65,8 @@ async fn test_tracing_inline_execution() {
// Create a linear chain (should trigger inline execution)
let a = dag.add_task(Value(1));
let b = dag.add_task(Add).depends_on((&a, &a));
let c = dag.add_task(Multiply).depends_on((&b, &b));
let b = dag.add_task(Add).depends_on((a, a));
let c = dag.add_task(Multiply).depends_on((b, b));
let mut output = dag
.run(|fut| async move { tokio::spawn(fut).await.unwrap() })