Skip to content
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

Large Format Tests (test chaining) in AATH #882

Open
nodlesh opened this issue Oct 22, 2024 · 0 comments
Open

Large Format Tests (test chaining) in AATH #882

nodlesh opened this issue Oct 22, 2024 · 0 comments

Comments

@nodlesh
Copy link
Contributor

nodlesh commented Oct 22, 2024

  • Proposal to modify test structure in AATH (Aries Agent Test Harness) for improved efficiency and developer-friendliness
  • Current approach: Independent tests that set up agents, connect, perform actions, and disconnect
  • Suggested approach: Multiple agents connecting and performing a series of exchanges without restarting

Considerations and Potential Improvements:

  • Connections are already reused across features when possible
  • Agents don't restart for the whole run set unless necessary
  • Implement pre- and post-test suite steps at the feature level
  • Check for existing credentials before issuing new ones
  • Create a large format test combining multiple smaller scenarios as a smoke test
  • Use data tables within steps instead of example tables for scenarios to reduce execution time

Potential Challenges:

  • Increased interdependence between tests may lead to more brittle systems
  • Larger test scenarios may complicate root cause analysis for failures
  • Need to balance between test isolation and execution speed

Additional Suggestions:

  • Implement tagged smoke tests for PR validations
  • Run full test suite nightly to maintain comprehensive coverage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant