Skip to content

Add comprehensive unit tests for FPLScout class#9

Open
elcaiseri wants to merge 2 commits intomainfrom
scout/unit-test-main
Open

Add comprehensive unit tests for FPLScout class#9
elcaiseri wants to merge 2 commits intomainfrom
scout/unit-test-main

Conversation

@elcaiseri
Copy link
Copy Markdown
Owner

Introduces a test suite covering all major methods and functionality of the FPLScout class, including initialization, data loading, gameweek resolution, data preprocessing, performance aggregation, fixture attachment, prediction generation, and team selection logic.

Adds pytest as a dependency to enable the test framework. Includes fixtures for mocking models and generating synthetic test data, ensuring tests run without external file dependencies or API calls.

Improves code reliability and maintainability by establishing baseline test coverage for the core scouting pipeline.

Introduces a test suite covering all major methods and functionality of the FPLScout class, including initialization, data loading, gameweek resolution, data preprocessing, performance aggregation, fixture attachment, prediction generation, and team selection logic.

Adds pytest as a dependency to enable the test framework. Includes fixtures for mocking models and generating synthetic test data, ensuring tests run without external file dependencies or API calls.

Improves code reliability and maintainability by establishing baseline test coverage for the core scouting pipeline.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant