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

Prepare user-friendly unit tests for different parts of the code and document them #1896

Open
xgreenx opened this issue May 16, 2024 · 0 comments

Comments

@xgreenx
Copy link
Collaborator

xgreenx commented May 16, 2024

We need to prepare user-friendly unit tests for different parts of the code and document them. The main idea is to provide an easy way for people to create a proof of concept if they find a potential bug.

Since bugs can occur in the GraphQL API, P2P, executor, database, and TxPool, it would be nice if we provided documentation and examples of how to test different scenarios for each area. Examples:

  • Set up a small p2p cluster and add some interactions between nodes.
  • Upgrade of the network.
  • Deploying of the contract and execution of it.
  • Running of the simple script.
  • Send GraphQL queries from the code.
  • Test with a relayer that sends custom data.
  • TODO
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

No branches or pull requests

1 participant