Skip to content

Testing Framework #216

@a5dur

Description

@a5dur

Test Suite Implementation for datapusher-plus

Create a complete, modern test suite for datapusher-plus (replace outdated test files) through GitHub Actions.
The implementation covers all core functionality from file processing to PostgreSQL operations, ensuring reliability and maintainability.

Core Test Modules

tests/test_jobs.py - Core job processing, validation, and datastore operations
tests/test_qsv_utils.py - QSV command wrapper and data processing operations
tests/test_plugin.py - CKAN plugin interface implementation
tests/test_helpers.py - Helper functions and utilities
tests/test_integration.py - End-to-end workflow testing

Infrastructure Files

tests/conftest.py - Pytest configuration and shared fixtures
tests/requirements-test.txt - Test dependencies
tests/README.md - Complete test documentation

GitHub Actions CI/CD

.github/workflows/testing_suite.yml - Automated testing pipeline

Automated Checks

Unit, integration, and performance tests
Code coverage reporting (Codecov)
Security scanning (Bandit, Safety)
Code quality checks (Flake8)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions