Skip to content

Add test coverage for DuckDBVortexLoader #13

@uberdeveloper

Description

@uberdeveloper

Summary

The DuckDBVortexLoader class in src/fastbt/backtest/data.py currently ships without test coverage. The vortex test fixtures were removed from tests/backtest/test_data.py during the v0.8.0 release cleanup.

TODO

  • Add back a vortex_path fixture that converts the parquet test fixture to vortex format
  • Parametrize the loader fixture to run all DataSource protocol tests against both DuckDBParquetLoader and DuckDBVortexLoader
  • Consider whether vortex extension should be a test dependency or optional

Context

The loader has an identical API to DuckDBParquetLoader, so test parametrization should be straightforward once the fixture is restored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions