Skip to content

Commit 826ff34

Browse files
docs: Update Spark test coverage (209 → 678 tests, add adversarial audit tier)
1 parent 2725642 commit 826ff34

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

docs/COVERAGE.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DataLinq Test Coverage Report
22

3-
> **Generated:** February 2026
3+
> **Generated:** March 2026
44
> **Test Framework:** xUnit
55
> **Coverage Tool:** Coverlet
66
> **Total Tests:** 868 (99.5% pass)
@@ -33,19 +33,21 @@
3333

3434
| Test Project | Total | Pass | Notes |
3535
|--------------|-------|------|-------|
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% |
3940

4041
**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`
4445
- 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`
4748
- 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
4951

5052
### SnowflakeQuery Tests (Enterprise)
5153

@@ -227,4 +229,4 @@ This report is manually maintained. To update:
227229

228230
---
229231

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

Comments
 (0)