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

Add initial unit testing documentation to the Sway book #3309

Merged
merged 2 commits into from
Nov 7, 2022

Conversation

mitchmindtree
Copy link
Contributor

@mitchmindtree mitchmindtree commented Nov 7, 2022

This is a minimal start at documenting the Sway unit testing feature provided via forc test.

We should continue to extend this as we land new features like contract calling, dev-dependencies, #[test(should_revert)], etc.

This is a start at documenting the Sway unit testing feature provided
via `forc test`.

We should continue to extend this as we land new features like contract
calling, dev-dependencies, `#[test(should_revert)]`, etc.
@mitchmindtree mitchmindtree added forc The Sway Book Everything to do with the Sway Book documentation forc-test Everything related to the `forc-test` lib and `forc test` command. labels Nov 7, 2022
@mitchmindtree mitchmindtree requested review from a team November 7, 2022 10:50
@mitchmindtree mitchmindtree self-assigned this Nov 7, 2022
@mitchmindtree mitchmindtree marked this pull request as ready for review November 7, 2022 11:00
@mitchmindtree mitchmindtree enabled auto-merge (squash) November 7, 2022 11:18
Copy link
Member

@kayagokalp kayagokalp left a comment

Choose a reason for hiding this comment

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

lgtm

@kayagokalp kayagokalp requested a review from a team November 7, 2022 11:23
Copy link
Contributor

@sezna sezna left a comment

Choose a reason for hiding this comment

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

So excited for this feature!

@mitchmindtree mitchmindtree merged commit aa56f73 into master Nov 7, 2022
@mitchmindtree mitchmindtree deleted the mitchmindtree/forc-test-docs-start branch November 7, 2022 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation forc forc-test Everything related to the `forc-test` lib and `forc test` command. The Sway Book Everything to do with the Sway Book
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants