Skip to content

Commit

Permalink
release: v0.30.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RickyLB authored Dec 2, 2024
1 parent 0d37a18 commit 8ee1c7c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0"
name = "hedera"
readme = "README.md"
repository = "https://github.com/hashgraph/hedera-sdk-rust"
version = "0.29.0"
version = "0.30.0"

[lib]
bench = false
Expand Down
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Clone this repository and its submodules:

```bash
git clone --recursive https://github.com/hashgraph/hedera-sdk-rust.git

```

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


### Integration Tests
### Tests

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

Expand All @@ -81,6 +82,24 @@ TEST_RUN_NONFREE=

Run the tests using `cargo test`

```bash
# Run all tests (unit and integration tests)
cargo test

# Run specific tests in a module
cargo test <MODULE_NAME>::<FILE_NAME>::<FUNCTION_NAME>
```

e.g.
```bash
# Run account module tests
cargo test account
# Run account module tests in file
cargo test account::create
# Run a single test
cargo test account::create::initial_balance_and_key
```

#### Local Environment Testing

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

0 comments on commit 8ee1c7c

Please sign in to comment.