Bridge Integration Test Suite Runner
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Bridge Integration Test Suite Runner helps you validate bridge contract functionality by running a suite of integration tests. You provide a bridge contract address and define test cases—each with a name, function to call, parameters, and expected result. The tool executes each test case sequentially, capturing the actual return value and comparing it against your expected value. Results are displayed with pass/fail status, showing which bridge functions are working correctly and which need attention. This is essential for developers deploying new bridge contracts, validating bridge upgrades, or ensuring that bridge integrations continue to work after protocol changes. The tool provides a summary of passed tests, a progress bar, and detailed results for each test case.
HOW TO USE
Enter the bridge contract address. Optionally enter a test token address for token-specific tests. Define test cases—one per line—in the format "name | function | params | expected". For example: "Send Message | sendMessage | 0x123...,Hello | success" or "Message Count | messageCount | | >0". The params field is a comma-separated list of arguments for the function. The expected field can be a specific value, "success" (meaning the call succeeded), or ">0" (meaning the result is greater than zero). Click "Prepare Test Suite." The tool runs all tests, displaying each result with pass/fail status, the actual return value, and any error messages. The summary shows the total number of tests passed and an overall pass/fail status.
THE REAL MECHANISM
The tool uses a generic bridge ABI with common bridge functions including sendMessage, lastMessage, messageCount, getMessage, owner, and isPaused. When you run tests, the tool creates a contract instance using the bridge address and the signer from your connected wallet. For each test case, it parses the function name and parameters, then calls the function on the contract. Parameters are automatically converted to the appropriate types—hex strings are passed as is, numbers are parsed to integers. The tool captures the return value and compares it to the expected value using several strategies: exact string match, "success" (non-null return), ">0" (BigNumber greater than zero), or substring match. Results are displayed with color-coded pass/fail status. All tests run sequentially using the same contract instance.
WHAT IT CANNOT SEE
This tool cannot test bridges for non-EVM chains. It cannot automatically detect bridge test failures without user-defined assertions—you must define what "expected" means for each test. It cannot simulate bridge relayer operations or test the full cross-chain flow. It cannot test bridge pause/resume functionality unless you define test cases for those functions. It cannot generate test reports for arbitrary bridge protocols with non-standard function signatures. It cannot handle bridge-specific fee structures automatically or test fee-related functionality. The tool does not execute transactions that modify state unless you define them as test cases.
PLEASE NOTE
Bridge Integration Test Suite Runner works exclusively with EVM-compatible chains. It requires a connected wallet with sufficient gas funds to execute state-changing test calls. The bridge contract must implement the functions you define in your test cases. All processing occurs client-side in your browser; no data is sent to any external server. The tool is free to use and does not require authentication. For best results, design test cases that cover the core functionality of your bridge contract.