Skip to content

feat: add e2e testcases functional test and sample#122

Merged
iwillspeak merged 4 commits intomainfrom
feature/e2e-tests
Feb 13, 2026
Merged

feat: add e2e testcases functional test and sample#122
iwillspeak merged 4 commits intomainfrom
feature/e2e-tests

Conversation

@iwillspeak
Copy link
Member

  • Update athena-protobufs submodule to include testcases/
  • Add functional test for integrator_sample testcases
  • Add e2e-testcases sample with CLI for running test sets
  • Support multiple test sets: integrator_sample, benign_model, live_model
  • Configurable tolerance for floating-point comparisons

- Update athena-protobufs submodule to include testcases/
- Add functional test for integrator_sample testcases
- Add e2e-testcases sample with CLI for running test sets
- Support multiple test sets: integrator_sample, benign_model, live_model
- Configurable tolerance for floating-point comparisons
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds end-to-end testing infrastructure using shared test cases from the athena-protobufs submodule. It introduces both a standalone CLI tool and a functional test suite that validate classification results against expected outputs.

Changes:

  • Updated athena-protobufs submodule to include testcases directory
  • Added e2e-testcases sample with CLI for running test sets against the classification service
  • Added functional test suite that validates integrator_sample testcases with configurable tolerance

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
athena-protobufs Updated submodule to version containing testcases directory
samples/e2e-testcases/package.json Package configuration for the e2e test runner with tsx as dev dependency
samples/e2e-testcases/tsconfig.json TypeScript configuration targeting ES2022 with NodeNext module resolution
samples/e2e-testcases/index.ts CLI application for running test sets with configurable tolerance and verbose output
samples/e2e-testcases/README.md Documentation for the e2e test runner with usage examples and configuration details
samples/README.md Updated samples overview to include the new e2e-testcases tool
tests/functional/e2e.functional.test.ts Vitest-based functional test that validates classification against integrator_sample testcases
Files not reviewed (1)
  • samples/e2e-testcases/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Will Speak added 2 commits February 13, 2026 12:45
- Add AthenaAudience type, VALID_AUDIENCES array, and parseAudience()
  function to authenticationManager.ts
- Export from SDK index for consumer use
- Update e2e test, samples to use shared parseAudience function
- Removes unsafe type assertions in favor of runtime validation
Avoids issues with manual arg parsing.
@iwillspeak iwillspeak requested a review from Copilot February 13, 2026 12:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 10 out of 11 changed files in this pull request and generated 4 comments.

Files not reviewed (1)
  • samples/e2e-testcases/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@iwillspeak iwillspeak merged commit 3cd05ce into main Feb 13, 2026
10 checks passed
@iwillspeak iwillspeak deleted the feature/e2e-tests branch February 13, 2026 16:52
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.

3 participants