feat: add comprehensive test infrastructure and CI/CD pipeline#193
Open
jakob1379 wants to merge 1 commit intofbdesignpro:masterfrom
Open
feat: add comprehensive test infrastructure and CI/CD pipeline#193jakob1379 wants to merge 1 commit intofbdesignpro:masterfrom
jakob1379 wants to merge 1 commit intofbdesignpro:masterfrom
Conversation
Adds a complete test suite and modern development tooling to Sweetviz, establishing a foundation for future contributions and quality assurance. Key changes: - Comprehensive test suite covering core functionality (type detection, data validation, report generation) - Modern Python tooling with uv, ruff, pyrefly, pre-commit hooks - GitHub Actions CI with parallel testing across Python 3.10-3.14 - Coverage tracking with branch analysis via pytest-cov and smokeshow - Dependency management with uv sync and Dependabot automation - Documentation for contributors with CONTRIBUTING.md Important context: - Existing tests are known to have failures; this infrastructure provides a framework for contributors to incrementally fix issues - Goal is to enable safe contributions and establish cross-platform consistency for the library - Coverage currently low (~10%) due to limited existing tests; provides baseline for improvement The setup enables: - Easy local development with `uv sync --extra dev --extra test` - Automated testing on all PRs with comprehensive OS/Python matrix - Quality enforcement with linting, formatting, and type checking - Transparent coverage reporting to guide test improvement
Author
|
Please do ask all the question you need, and I will do my best to answer them :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a complete test suite and modern development tooling to Sweetviz, establishing a foundation for future contributions and quality assurance. The test coverage is about 32% and currently fails but is intended to show problematic areas that might need attention. Do not consider this the end, but rather the beginning of clearer insights into problematic code, making it easier for people to contribute by giving them the tools needed to write tests for the issues they face, then the they can make a fix that makes the test successful.
Key changes:
Important context:
The setup enables: