def folder_dataset_path(project_path: Path) -> Path:
    """Create a dummy folder dataset for testing."""
    data_path = project_path / "dataset"
    dataset_generator = DummyImageDatasetGenerator(
        data_format=ImageDataFormat.FOLDER,
        root=data_path,
        num_train=10,
        num_test=10,
    )
    dataset_generator.generate_dataset()
    return data_path
Create a dummy folder dataset for testing.
tests/integration/test_task_types.py