You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: