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

E2E tests #25

Open
17 tasks
theanmolsharma opened this issue Aug 21, 2024 · 1 comment
Open
17 tasks

E2E tests #25

theanmolsharma opened this issue Aug 21, 2024 · 1 comment

Comments

@theanmolsharma
Copy link
Collaborator

We must implement end-to-end (E2E) tests to ensure the system functions correctly and handles various scenarios as expected. The E2E tests should cover all critical functionalities, including transaction processing and block indexing.

Tasks:

  • Setup Testing Environment:
    • Configure the testing environment using Jest
    • Ensure that the environment closely mirrors the production setup
  • Test Scenarios:
    • Write E2E tests for processing and building the index using different providers
    • Verify that the indexer correctly creates and saves the index data
    • Test the handling of edge cases, such as invalid transactions, reorgs, and network delays.
    • Ensure the indexer gracefully handles errors and retries.
  • Assertions:
    • Verify that the indexed data is accurate and matches the expected output.
    • Ensure all routes and APIs respond correctly to various inputs.
  • Documentation
    • Document the E2E testing strategy and the scenarios covered.
    • Provide instructions on how to run the tests locally.
  • CI/CD Integration:
    • Integrate the E2E tests into the existing CI/CD pipeline.
    • Ensure that the tests run automatically on every push/merge request.
@notTanveer
Copy link
Contributor

taking this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants