11# Rust SDK Test Status
22
33> ** Last Updated:** 2026-02-06
4- > ** Last Verified:** 2026-02-06 (build failure — see below)
4+ > ** Last Verified:** 2026-02-06 via ` cargo test --test specs `
55
66---
77
2020
2121## 2. Coverage Summary
2222
23- | Priority | Passing | Total | Percentage | Status |
24- | -------------- | ---------------- | ------- | ------ ---------- | ------ |
25- | Required (P0) | ❌ Build failure | 791 | N/A | ❌ |
26- | Preferred (P1) | ❌ Build failure | - | - | - |
27- | Optional (P2) | ❌ Build failure | - | - | - |
28- | ** Total** | ** 0 (blocked) ** | ** 791** | ** 0% (blocked) ** | ❌ |
23+ | Priority | Passing | Total | Percentage | Status |
24+ | -------------- | -------- | ------- | ---------- | ------ |
25+ | Required (P0) | 723 | 791 | 91% | ✅ |
26+ | Preferred (P1) | included | - | - | - |
27+ | Optional (P2) | included | - | - | - |
28+ | ** Total** | ** 723 ** | ** 791** | ** 91% ** | ✅ |
2929
3030> ** Notes:**
3131>
32- > - ** BUILD FAILURE: ** Tests do not compile as of 2026-02-06
33- > - SDK API has changed: 3 methods no longer exist in the current SDK revision
34- > - Previous results (2026-02-05): 761 passed, 65 skipped (92% when compilable)
32+ > - 723 scenarios passed, 56 skipped, 12 failed
33+ > - All 12 failures are network-dependent performance benchmarks (require devnet)
34+ > - Test duration: ~ 28 seconds
3535> - Tests use ` aptos-sdk ` from GitHub: ` https://github.com/aptos-labs/aptos-rust-sdk `
3636
3737---
@@ -81,11 +81,9 @@ The SDK uses feature flags. The `full` feature enables all:
8181
8282## 4. Known Issues
8383
84- | Issue | Impact | Resolution |
85- | -------------------------- | ------------------ | ----------------------------------------------------- |
86- | Not on crates.io | Git dep required | Use git dependency from GitHub |
87- | ` get_apt_balance ` | Compile error | Method removed/renamed in SDK; update step definition |
88- | ` get_account_transactions ` | Compile error (x2) | Method removed/renamed in SDK; update step definition |
84+ | Issue | Impact | Resolution |
85+ | ---------------- | ---------------- | ------------------------------ |
86+ | Not on crates.io | Git dep required | Use git dependency from GitHub |
8987
9088### SDK Dependency
9189
@@ -109,29 +107,22 @@ aptos-sdk = { version = "0.3", features = ["full"] }
109107
110108---
111109
112- ## 5. Build Failure Details
110+ ## 5. Missing Test Implementations
113111
114- As of 2026-02-06, ` cargo test --test specs ` fails to compile with 3 errors :
112+ Run the following to identify undefined steps :
115113
114+ ``` bash
115+ cargo test --test specs
116116```
117- error[E0599]: no method named `get_apt_balance` found for reference `&Aptos`
118- error[E0599]: no method named `get_account_transactions` found for `&FullnodeClient` (x2)
119- ```
120-
121- The SDK (` aptos-rust-sdk ` ) has undergone API changes. The following step definition files need
122- updating:
123-
124- - ` src/steps/client_steps.rs ` - ` get_apt_balance ` call
125- - ` src/steps/client_steps.rs ` - ` get_account_transactions ` calls
126117
127- ** Resolution:** Update step definitions to use the current SDK API method names.
128-
129- When compilable, scenarios that skip are typically due to:
118+ Scenarios that skip (56) are typically due to:
130119
131120- Network-dependent tests requiring live testnet/devnet
132121- Advanced features not yet fully tested
133122- Error handling edge cases
134123
124+ The 12 failed scenarios are all performance benchmarks requiring network access.
125+
135126---
136127
137128## 6. SDK-Specific Notes
@@ -188,22 +179,23 @@ fn given_hex_string(world: &mut TestWorld, hex_string: String) {
188179
189180## 9. Test Results Matrix
190181
191- > Last attempted: 2026-02-06 (build failure) Last successful run: 2026-02-05
182+ > Last run: 2026-02-06
192183
193- ### Full Test Suite Summary (from 2026-02-05, last successful build)
184+ ### Full Test Suite Summary
194185
195186```
196- 826 scenarios (591 passed, 235 skipped)
197- 2565 steps (2330 passed, 235 skipped)
187+ 791 scenarios (723 passed, 56 skipped, 12 failed)
188+ 2897 steps (2827 passed, 56 skipped, 14 failed)
189+ Duration: ~28s
198190```
199191
200- ### Current Status (2026-02-06 )
192+ ### Failed Tests (all network-dependent benchmarks )
201193
202- ```
203- BUILD FAILURE: 3 compilation errors
204- - get_apt_balance: method not found on &Aptos
205- - get_account_transactions: method not found on &FullnodeClient (x2)
206- ```
194+ All 12 failures are performance benchmark scenarios that require live devnet connectivity:
195+
196+ - Get ledger info, account info, account resources, transaction by hash, account balance
197+ - Query account tokens, transactions, fungible assets, events
198+ - Submit transactions, submit and wait, full transaction flow
207199
208200### By Feature Category
209201
0 commit comments