srdc / tofhir

Mapping toolset to migrate/transform existing datasets to HL7 FHIR
Apache License 2.0
9 stars 1 forks source link

File source reader test #223

Closed camemre49 closed 2 months ago

camemre49 commented 2 months ago

Added tests for the following actions:

  1. Throw IllegalArgumentException, NotImplementedError when necessary
  2. Correctly read from CSV, TSV, and TXT_CSV files
  3. Correctly read multiple files from CSV, TXT_CSV folders
  4. Correctly read from JSON and TXT-NDJSON files
  5. Correctly read multiple files from JSON and NDJSON folders
  6. Correctly read from Parquet file
  7. Correctly read multiple files from Parquet folders
dogukan10 commented 2 months ago

@camemre49, for the FileDataSourceReader, the current line coverage is 58% (44/75). We can enhance this by adding test cases for the following scenarios: