forked from FuelLabs/sway
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimal viable test harness for the stdlib (FuelLabs#37)
* config:update gitignore to ignore all tagket dirs * feat:add working demo of test harness * fix:add modules * Add new demo_script_test project * build:update dep versions in manifest files * fix:update code in mod and main * fix:change author email * fixup * fix:use local path to ttest current stdlib * test:remove dummy test * cleanup:remove dummy tests in prep for merge * style:cargo fmt
- Loading branch information
Showing
4 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[package] | ||
authors = ["Fuel Labs <[email protected]>"] | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
name = "tests" | ||
version = "0.1.0" | ||
|
||
[dependencies] | ||
fuel-gql-client = { version = "0.2", default-features = false } | ||
fuel-tx = "0.2.0" | ||
fuels-abigen-macro = "0.3" | ||
fuels-contract = "0.3" | ||
fuels-core = "0.3" | ||
fuel-core = "0.3.1" | ||
fuel-types = "0.1" | ||
rand = "0.8" | ||
tokio = { version = "1.12", features = ["rt", "macros"] } | ||
|
||
[[test]] | ||
harness = true | ||
name = "integration_tests" | ||
path = "tests/harness.rs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[project] | ||
author = "Fuel Labs <[email protected]>" | ||
entry = "main.sw" | ||
license = "Apache-2.0" | ||
name = "tests" | ||
|
||
[dependencies] | ||
core = { git = "https://github.com/FuelLabs/sway-lib-core" } | ||
std = { path = "../src" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// Manually add tests to run here, ie: | ||
// mod foo; |