Skip to content

Add unit tests for tvm_vm and tvm_client feature sets#231

Merged
elasticLove1 merged 19 commits into
mainfrom
feature/node-3350-add-unit-tests-for-tvm_vm-and-tvm_client-feature-sets
Jul 17, 2026
Merged

Add unit tests for tvm_vm and tvm_client feature sets#231
elasticLove1 merged 19 commits into
mainfrom
feature/node-3350-add-unit-tests-for-tvm_vm-and-tvm_client-feature-sets

Conversation

@awnion

@awnion awnion commented May 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds Phase 1 unit-test coverage for the target tvm_vm and tvm_client feature sets:

  • expands tvm_vm unit coverage for dictionary, diff, gas, rand, slice comparison, token helpers, zk verifier helpers, continuations, integers, savelists, types, and utils
  • expands tvm_client unit coverage for BOC config/message helpers, debot helpers, utility JSON accessors, and mock blockchain flows
  • adds scripts/coverage_an.sh for the priority feature-set coverage workflow
  • keeps already-merged tvm_abi, tvm_sdk, and tvm_executor unit-test work out of this branch

Validation

  • cargo fmt --all --check
  • git diff --check main..HEAD
  • cargo test -p tvm_client -p tvm_vm
  • cargo test -r --lib -p tvm_vm --features tvm_vm/gosh
  • cargo test -r --lib -p tvm_client --no-default-features --features tvm_client/std,tvm_client/rustls-tls-webpki-roots

awnion added 8 commits May 13, 2026 13:16
(cherry picked from commit 1286cb3)
(cherry picked from commit 8e6e79daec437599f09148213ea0331ec627c670)
(cherry picked from commit a9d5391)
(cherry picked from commit 587bf535c334371e280f9374d56d5d55d6149af0)
Cherry-picked selected non-overlapping hunks from 0962aa9, excluding build_commit smoke tests.
Cherry-picked selected non-overlapping hunks from 68e53e2.
(cherry picked from commit 838c716)
(cherry picked from commit faf1cae)
(cherry picked from commit 59560ce)
@awnion awnion self-assigned this May 13, 2026
@awnion awnion changed the title NODE-3350 Add unit tests for tvm_vm and tvm_client feature sets Add unit tests for tvm_vm and tvm_client feature sets May 13, 2026
@awnion
awnion requested a review from melsomino May 13, 2026 11:32
@awnion
awnion marked this pull request as ready for review May 13, 2026 11:32
@awnion
awnion requested a review from elasticLove1 May 21, 2026 11:35

@melsomino melsomino left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments

@elasticLove1
elasticLove1 merged commit 7d52241 into main Jul 17, 2026
6 checks passed
@elasticLove1
elasticLove1 deleted the feature/node-3350-add-unit-tests-for-tvm_vm-and-tvm_client-feature-sets branch July 17, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants