Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add rpc call test suite for simple testing #77

Closed
Nana-EC opened this issue May 20, 2022 · 0 comments · Fixed by #143
Closed

Add rpc call test suite for simple testing #77

Nana-EC opened this issue May 20, 2022 · 0 comments · Fixed by #143
Assignees
Labels
enhancement New feature or request P1 process Build, test and deployment-process related tasks
Milestone

Comments

@Nana-EC
Copy link
Collaborator

Nana-EC commented May 20, 2022

Problem

Currently most endpoint testing is done manually through curl or metamask.
We need a quick way to run a collection of calls against a hosted instance - local or deployed

Solution

Utilize postman (newman CLI) flow to run multiple queries against a hosted relay instance.

  • Add transaction submission logic using js-sdk

See Mirror Node Web3 acceptance test as inspiration.

For a postman.json file see the Mirror Node web3 postman.json for inspiration.

Alternatives

Add a ts test suite with a CLI option to run

@Nana-EC Nana-EC added enhancement New feature or request P1 process Build, test and deployment-process related tasks labels May 20, 2022
@Nana-EC Nana-EC added this to the 0.1.0 milestone May 20, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request P1 process Build, test and deployment-process related tasks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants