Skip to content

Commit

Permalink
Update doc hub on test intructions
Browse files Browse the repository at this point in the history
  • Loading branch information
bitzoic committed Jun 18, 2024
1 parent 6a07c55 commit efcca0e
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions docs/book/src/getting_started/running_tests.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
# Running Tests

There are two sets of tests that should be run: inline tests and sdk-harness tests.
There are two sets of tests that should be run: inline tests and sdk-harness tests. Please make sure you are using `forc v0.60.0` and `fuel-core v0.26.0`. You can check what verison you are using by running the `fuelup show` command.

In order to run the inline tests, make sure you are in the `libs/` folder of this repository `sway-libs/libs/<you are here>`.
Make sure you are in the source directory of this repository `sway-libs/<you are here>`.

Run the tests:
Run the inline tests:

```bash
forc test
forc test --path libs --release --locked
```

Once these tests have passed, make sure you are in the `tests/` folder of this repository `sway-libs/tests/<you are here>`.

Run the tests:
Once these tests have passed, run the sdk-harness tests:

```bash
forc test && cargo test
forc test --path tests --release --locked && cargo test --manifest-path tests/Cargo.toml
```

> **NOTE:**
Expand Down

0 comments on commit efcca0e

Please sign in to comment.