|
1 | 1 | # DataLinq Test Coverage Report |
2 | 2 |
|
3 | | -> **Generated:** February 2026 |
| 3 | +> **Generated:** March 2026 |
4 | 4 | > **Test Framework:** xUnit |
5 | 5 | > **Coverage Tool:** Coverlet |
6 | 6 | > **Total Tests:** 868 (99.5% pass) |
|
33 | 33 |
|
34 | 34 | | Test Project | Total | Pass | Notes | |
35 | 35 | |--------------|-------|------|-------| |
36 | | -| `DataLinq.SparkQuery.UnitTests` | 54 | 54 | ✅ Fast, no Spark needed | |
37 | | -| `DataLinq.SparkQuery.IntegrationTests` | 155 | 155 | ✅ Requires Spark backend | |
38 | | -| **Spark Total** | **209** | **209** | ✅ 100% | |
| 36 | +| `DataLinq.SparkQuery.UnitTests` | 122 | 122 | ✅ Fast, no Spark needed | |
| 37 | +| `DataLinq.SparkQuery.IntegrationTests` | 250 | 250 | ✅ Requires Spark backend | |
| 38 | +| `SparkAudit_v100` (Adversarial Audit) | 306 | 306 | ✅ 31-batch external audit | |
| 39 | +| **Spark Total** | **678** | **678** | ✅ 100% | |
39 | 40 |
|
40 | 41 | **Features Tested:** |
41 | | -- Math functions: `Abs`, `Round`, `Ceiling`, `Floor`, `Sqrt`, `Pow` |
42 | | -- String methods: `IndexOf`, `Replace`, `Length`, `Contains`, `StartsWith`, `EndsWith` |
43 | | -- DateTime properties: `Year`, `Month`, `Day`, `Hour`, `Minute`, `Second` |
| 42 | +- Math functions: `Abs`, `Round`, `Ceiling`, `Floor`, `Sqrt`, `Pow`, `Cos`, `Sin`, `Tan`, `Acos`, `Asin`, `Atan`, `Log`, `Log10`, `Log2`, `Exp` |
| 43 | +- String methods: `IndexOf`, `Replace`, `Length`, `Contains`, `StartsWith`, `EndsWith`, `Trim`, `Substring`, `ToUpper`, `ToLower` |
| 44 | +- DateTime properties: `Year`, `Month`, `Day`, `Hour`, `Minute`, `Second`, `DayOfWeek`, `DayOfYear` |
44 | 45 | - Higher-order array functions: `Any`→`exists`, `All`→`forall`, `Where`→`filter`, `Select`→`transform` |
45 | | -- Cases pattern: Filter expression translation, SelectCase transforms, DataFrame integration |
46 | | -- Write API: `WriteParquet`, `WriteCsv`, `WriteJson`, `WriteTable` |
| 46 | +- Cases pattern: Filter expression translation, SelectCase transforms, ForEachCase with async write |
| 47 | +- Write API: `WriteParquet`, `WriteCsv`, `WriteJson`, `WriteOrc`, `WriteTable`, `MergeTable` |
47 | 48 | - Window functions, Joins, Grouping, Set operations |
48 | | -- **v1.2.0:** Auto-UDF, Assembly Distribution, Adaptive Push, Decimal Conversion |
| 49 | +- Auto-UDF (static, instance, closure, lambda), Delta Reflection (ForEach + sync-back) |
| 50 | +- Streaming writes: `IEnumerable` and `IAsyncEnumerable` with O(1) memory |
49 | 51 |
|
50 | 52 | ### SnowflakeQuery Tests (Enterprise) |
51 | 53 |
|
@@ -227,4 +229,4 @@ This report is manually maintained. To update: |
227 | 229 |
|
228 | 230 | --- |
229 | 231 |
|
230 | | -*Last updated: February 14, 2026 (v1.0.0 — DataLinq.NET rebrand)* |
| 232 | +*Last updated: March 18, 2026 (v1.0.0 — Spark test coverage update)* |
0 commit comments