Skip to content

Implementation: Synthetic test fixture #4

Closed

Description

@edward-sf

Synthetic test fixture

⚠️ Notice We need to produce a fixture for testing that our test suite. This test fixture should never be used for training or testing of our live production ML models. The fixture is synthetic, not sample. Kaggle's terms restrict redistributing the real data. Generating it also lets us guarantee the edge cases exist.

Files

  • Create tests/fixtures/generate_fixture.py, tests/fixtures/sample.csv
  • Test tests/test_fixture.py

Instructions

  • Write the failing test to tests/test_fixture.py and verify it fails with FileNotFoundError: tests/fixtures/sample.csv
  • Write the fixture generator tests/fixtures/generate_fixture.py
  • Generate a fixture and run the tests

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions