Skip to content

Commit 8ee1c7c

Browse files
authored
release: v0.30.0
1 parent 0d37a18 commit 8ee1c7c

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "Apache-2.0"
88
name = "hedera"
99
readme = "README.md"
1010
repository = "https://github.com/hashgraph/hedera-sdk-rust"
11-
version = "0.29.0"
11+
version = "0.30.0"
1212

1313
[lib]
1414
bench = false

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Clone this repository and its submodules:
1616

1717
```bash
1818
git clone --recursive https://github.com/hashgraph/hedera-sdk-rust.git
19+
1920
```
2021

2122
Update [`\protobufs`](https://github.com/hashgraph/hedera-protobufs) submodule to recent version (if necessary):
@@ -64,7 +65,7 @@ cargo run --release --example create_account
6465
```
6566

6667

67-
### Integration Tests
68+
### Tests
6869

6970
Before running the integration tests, an operator key, operator id, and a network name must be set in an `.env` file.
7071

@@ -81,6 +82,24 @@ TEST_RUN_NONFREE=
8182

8283
Run the tests using `cargo test`
8384

85+
```bash
86+
# Run all tests (unit and integration tests)
87+
cargo test
88+
89+
# Run specific tests in a module
90+
cargo test <MODULE_NAME>::<FILE_NAME>::<FUNCTION_NAME>
91+
```
92+
93+
e.g.
94+
```bash
95+
# Run account module tests
96+
cargo test account
97+
# Run account module tests in file
98+
cargo test account::create
99+
# Run a single test
100+
cargo test account::create::initial_balance_and_key
101+
```
102+
84103
#### Local Environment Testing
85104

86105
Hedera offers a way to run tests through your localhost using the `hedera-local-node` service.

0 commit comments

Comments
 (0)