Skip to content

feat: add comprehensive test infrastructure and CI/CD pipeline#193

Open
jakob1379 wants to merge 1 commit intofbdesignpro:masterfrom
jakob1379:feat/make-tests
Open

feat: add comprehensive test infrastructure and CI/CD pipeline#193
jakob1379 wants to merge 1 commit intofbdesignpro:masterfrom
jakob1379:feat/make-tests

Conversation

@jakob1379
Copy link
Copy Markdown

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:

  • 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:

  • 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

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
@jakob1379
Copy link
Copy Markdown
Author

Please do ask all the question you need, and I will do my best to answer them :)

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