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

Update testing guide structure and add coverage testing #1182

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented Jan 16, 2025

What

Add a testing page on code coverage. Also reorganised the testing pages.

Why

Code coverage was somethign I was wanting to add to this section previously but I ran into issues figuring it out. But thankfully @graydon gracefully showed me how to do it, and it was pretty simple!

Limitations

This new doc does not provide instructions for how to get code coverage information from fuzz tests. That's a different process which I'll hopefully figure out and open a different PR for.

Close #921


This is part 1 of 2 in a stack made with GitButler:

@stellar-jenkins
Copy link

@leighmcculloch leighmcculloch marked this pull request as ready for review January 16, 2025 07:03
Copy link
Contributor

@sisuresh sisuresh left a comment

Choose a reason for hiding this comment

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

Very easy to generate a report. Thanks!

@sisuresh sisuresh merged commit f381246 into main Jan 17, 2025
2 checks passed
@sisuresh sisuresh deleted the testing-round-2 branch January 17, 2025 23:47
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

Successfully merging this pull request may close these issues.

Add guide for how to do test code coverage reporting for contracts
3 participants