Feat/sdk integration tests#230
Conversation
…ntegration tests - Configured separate test command - Excluded integration tests from default runs - Added environment-based configuration
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis change introduces integration test infrastructure for the SDK by adding an environment configuration file, a test setup module that exports configuration from environment variables, and initial integration test file placeholders for contract deployment and interaction scenarios. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
|
@Babigdk Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Resolves conflicts: - packages/sdk/package.json: take main's version. Main now has the modern ESM/CJS dual build, regenerate scripts, and a working 'test:integration' script (added by PR Fundable-Protocol#231). PR's package.json had a missing comma after test:integration plus a duplicate 'test' key. - packages/sdk/vitest.config.ts: combine excludes — keep main's __integration_tests__/ exclude (PR Fundable-Protocol#231) and add this PR's __tests__/integration/ exclude. Note: this PR's tests live in src/__tests__/integration/, while main's test:integration script (from PR Fundable-Protocol#231) targets src/__integration_tests__/. The new tests are excluded from regular runs but won't be picked up by test:integration either — wiring them in is left to a follow-up.
Closes #165
🧪 Feature: Integration Tests with Local Soroban
📌 Overview
This PR introduces integration tests for the SDK that interact with a local Soroban node to validate real contract deployment and interaction flows.
✅ What’s Included
Integration test suite under:
src/deployer/__tests__/integrationTests cover:
Environment-based configuration via
.env.integration⚙️ How to Run