josharsh / josharsh/xeli

Round-trip tests for src/data/export.rs

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
area:data good first issue
Dominant language
Rust
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Export logic (CSV / JSON / Parquet) currently has no tests. Add `tests/export_test.rs`:

1. Load `examples/employees.csv`
2. Export to a temp CSV, JSON, and Parquet
3. Re-load each export and assert row count + column names match the original
4. For numeric columns, assert max diff <= 1e-9

Use the same `release-mode-required` pattern as `tests/data_test.rs`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.