Skip to content

Added integration test markers: #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 3, 2025
Merged

Added integration test markers: #73

merged 2 commits into from
May 3, 2025

Conversation

sidmohan0
Copy link
Contributor

Added the integration marker to pytest configuration in tox.ini Applied the marker to both new Spark tests and existing text service integration tests Created Spark integration tests:
Implemented tests that run Spark in local mode
Created a shared SparkService fixture to avoid multiple context issues Properly handled PySpark Row objects in assertions Fixed SparkService for testing:
Updated SparkService to handle Java security manager issues Added configuration for running in local mode
Improved error handling and dependency management
Added tox integration environment:
Created a dedicated tox environment for running integration tests Ensured PySpark is properly installed in the test environment

Added the integration marker to pytest configuration in tox.ini
Applied the marker to both new Spark tests and existing text service integration tests
Created Spark integration tests:
Implemented tests that run Spark in local mode
Created a shared SparkService fixture to avoid multiple context issues
Properly handled PySpark Row objects in assertions
Fixed SparkService for testing:
Updated SparkService to handle Java security manager issues
Added configuration for running in local mode
Improved error handling and dependency management
Added tox integration environment:
Created a dedicated tox environment for running integration tests
Ensured PySpark is properly installed in the test environment
@sidmohan0 sidmohan0 self-assigned this May 3, 2025
@sidmohan0 sidmohan0 added this to the 4.1.0 milestone May 3, 2025
@sidmohan0 sidmohan0 merged commit 1925080 into dev May 3, 2025
5 checks passed
@sidmohan0 sidmohan0 deleted the feat/integration-tests branch May 3, 2025 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant