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

feat: add rust integration tests #3108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wiseaidev
Copy link

No description provided.

Copy link

vercel bot commented Jul 23, 2024

@wiseaidev is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Collaborator

@acheroncrypto acheroncrypto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks but how are these examples different than the ones in client/example?

@wiseaidev
Copy link
Author

wiseaidev commented Jul 24, 2024

Thanks for the review, @acheroncrypto. I wasn't aware of this folder until now. However, this PR helps users by providing examples on how to write integration tests for each program within the program crate itself, instead of looking in a separate crate outside the program. This approach is useful for those who prefer Rust integration tests over JavaScript. Additionally, this PR includes tests for all programs. For example, there is no integration tests for basic_0, basic_1 and basic_5, so I have added them.

@kevinrodriguez-io
Copy link
Contributor

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

Successfully merging this pull request may close these issues.

3 participants