Skip to content

Commit d3ecfb7

Browse files
tkumor3cptartur
andauthored
663 parallelise test execution tokio (#775)
<!-- Reference any GitHub issues resolved by this PR --> Closes # ## Introduced changes <!-- A brief description of the changes --> - - ## Breaking changes <!-- List of all breaking changes, if applicable --> ## Checklist <!-- Make sure all of these are complete --> - [x] Linked relevant issue - [ ] Updated relevant documentation - [x] Added relevant tests - [x] Performed self-review of the code - [x] Added changes to `CHANGELOG.md` --------- Co-authored-by: Artur Michałek <[email protected]>
1 parent c57addf commit d3ecfb7

File tree

24 files changed

+922
-458
lines changed

24 files changed

+922
-458
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121
#### Changed
2222

2323
- Spying events interface is updated to enable the use of events defined inside contracts in assertions
24+
- Test are executed in parallel
2425
- Fixed inconsistent pointers bug https://github.com/foundry-rs/starknet-foundry/issues/659
2526
- Fixed an issue where `deploy_at` would not trigger the constructors https://github.com/foundry-rs/starknet-foundry/issues/805
2627

Cargo.lock

Lines changed: 22 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ thiserror = "1.0.49"
6060
ctor = "0.2.4"
6161
url = "2.4.0"
6262
tokio = { version = "1.28.2", features = ["full"] }
63+
tokio-util = "0.7.9"
64+
futures = "0.3.28"
6365
num-bigint = { version = "0.4.4", features = ["rand"] }
6466
walkdir = "2.4.0"
6567
dotenv = "0.15.0"

crates/forge/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ openssl = { version = "0.10", features = ["vendored"] }
5858
toml_edit = "0.9.1"
5959
flatten-serde-json = "0.1.0"
6060
smol_str = "0.2.0"
61+
tokio.workspace = true
62+
tokio-util.workspace = true
63+
futures.workspace = true
6164
num-integer = "0.1.45"
6265

6366
[lib]

0 commit comments

Comments
 (0)