Skip to content

Tests overhaul#61

Merged
sheltoncyril merged 7 commits intotrustyai-explainability:mainfrom
dmaniloff:tests_overhaul
Mar 12, 2026
Merged

Tests overhaul#61
sheltoncyril merged 7 commits intotrustyai-explainability:mainfrom
dmaniloff:tests_overhaul

Conversation

@dmaniloff
Copy link
Copy Markdown
Collaborator

@dmaniloff dmaniloff commented Mar 12, 2026

Improvements to the testing framework for the llama-stack-provider-ragas. Key changes include:

  • Added shared evaluation helper classes (SmokeTester and EvalTester) to base_eval_tests.py for better test organization and reusability.
  • Enhanced inline evaluation tests to utilize the new helper classes, improving clarity and maintainability.
  • Removed outdated Kubeflow integration tests and streamlined the test structure for better focus on current testing strategies.
  • See how it all works in tests/TESTING.md

@sourcery-ai

This comment was marked as off-topic.

@dmaniloff dmaniloff changed the title Tests_overhaul Tests overhaul Mar 12, 2026
sourcery-ai[bot]

This comment was marked as resolved.

This commit introduces a comprehensive end-to-end testing environment for the llama-stack-provider-ragas distribution on OpenShift. It includes a new Containerfile for building the test image, deployment and teardown scripts, configuration manifests, and a test suite using pytest. The setup ensures that the necessary resources are created and validated, facilitating robust testing of the provider's functionality.
This commit introduces several improvements to the testing framework for the llama-stack-provider-ragas. Key changes include:

- Updated the pre-commit configuration to run unit tests for "unit or lls_integration".
- Added shared evaluation helper classes (`SmokeTester` and `EvalTester`) to `base_eval_tests.py` for better test organization and reusability.
- Enhanced inline evaluation tests to utilize the new helper classes, improving clarity and maintainability.
- Removed outdated Kubeflow integration tests and streamlined the test structure for better focus on current testing strategies.

These changes aim to improve the robustness and clarity of the testing process, ensuring better coverage and easier maintenance.
dmaniloff and others added 4 commits March 12, 2026 11:46
These files were superseded by tests/cluster-deployment/ in PR trustyai-explainability#59.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Drop the `embedding/` prefix so test defaults match the configmap value
`nomic-ai/nomic-embed-text-v1.5`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a model configuration section to TESTING.md and inline comments in
each test module explaining why the defaults differ across suites.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@sheltoncyril sheltoncyril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sheltoncyril sheltoncyril merged commit 1813d24 into trustyai-explainability:main Mar 12, 2026
4 checks passed
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.

2 participants