Skip to content

Comments

Adding Unit tests for SDK Main Module#112

Open
anuragShingare30 wants to merge 1 commit intoakave-ai:mainfrom
anuragShingare30:fix/unit-test-sdkmain-module
Open

Adding Unit tests for SDK Main Module#112
anuragShingare30 wants to merge 1 commit intoakave-ai:mainfrom
anuragShingare30:fix/unit-test-sdkmain-module

Conversation

@anuragShingare30
Copy link

@anuragShingare30 anuragShingare30 commented Feb 6, 2026

Summary

This PR introduces comprehensive unit tests for the SDK’s main module, covering key areas such as SDK initialization options (WithEncryptionKey, WithPrivateKey), AkaveContractFetcher, utility functions, and lifecycle methods

Key Highlights

  • Existing test suite had 18 failing tests and 71% coverage
  • Added 42 new unit tests including SDK Class, Utility functions, SDK initialization options and AkaveContractFetcher
  • Increased module test coverage to 98%
  • Improved overall project coverage from 36% -> 46%

Screenshots

  • Previous Test with 18 failing tests
Screenshot 2026-02-07 005403
  • Module Coverage
Screenshot 2026-02-07 024713
  • Overall coverage after adding SDK module unit tests
Screenshot 2026-02-07 022603

Closes: #106
@d4v1d03

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.

CI:Unit Tests for SDK Main Module

1 participant