sway/scripts/mdbook-forc-documenter/examples
mitchmindtree dab1c74b2a
Remove Rust integration testing behaviour from forc test in anticipation of unit testing support (#2264)
This PR is a WIP that aims to address the first 3 steps in #1833.

This is in anticipation of using `forc test` to support unit testing
(rather than Rust integration testing) #1832.

The `forc test` command remains for now, but outputs a message
explaining that the command is now reserved for unit testing and links
to the issues above.

## TODO

- [x] Create a new `sway-test-rs` repo or similar that can be used as a
`cargo generate` template.
- [x] Update Rust integration testing docs in the Sway book to describe
how to use the `cargo generate` command to easily add Sway integration
testing to an existing Rust project.

## Follow-up

- Create a `forc-test-rs` crate that re-exports and extends `fuels` with
useful `forc` functionality for integration testing (e.g. re-exporting
`forc_pkg::build` to ensure sway code is built and available under
`out/` at the start of testing).
2022-10-10 12:27:13 +11:00
..
forc_build.md Create markdown-lint.yml (#2534) 2022-08-15 12:45:07 -04:00
forc_completions.md Create markdown-lint.yml (#2534) 2022-08-15 12:45:07 -04:00
forc_deploy.md Create markdown-lint.yml (#2534) 2022-08-15 12:45:07 -04:00
forc_init.md Remove Rust integration testing behaviour from forc test in anticipation of unit testing support (#2264) 2022-10-10 12:27:13 +11:00
forc_new.md Remove Rust integration testing behaviour from forc test in anticipation of unit testing support (#2264) 2022-10-10 12:27:13 +11:00
forc_parse-bytecode.md Create markdown-lint.yml (#2534) 2022-08-15 12:45:07 -04:00
forc_template.md Create markdown-lint.yml (#2534) 2022-08-15 12:45:07 -04:00