-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from tonlabs/SDK-4154-flex-api-integration-tes…
…t-plan-and-scenarios SDK-4094 & SDK-4154 testplan for FLEX api & sdk
- Loading branch information
Showing
6 changed files
with
615 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
*** Settings *** | ||
# Prerequisite | ||
- Deploy Msig everWallet (1000 EVER) | ||
- Mint TIP3.2 tokens (100 TSDT) for Msig everWallet | ||
- Deploy Flex client (100 EVER) | ||
- Generate pub/priv keys for Trader Id | ||
- Deploy Trader wallets (Native 100 EVER & Wrapped 50 TSDT & Wrapped 50 EVER) | ||
- makeOrder(priceA) | ||
- makeOrder(priceZ) | ||
- create another Trader and his wallets | ||
- makeOrder(priceX buys priceZ) | ||
|
||
*** Test Cases *** | ||
# API | ||
Test query | ||
call flex.query(generated from FLEX.mm.md#FLEX.API.query.flex) | ||
|
||
# API | ||
Test subscription | ||
call flex.query(generated from FLEX.mm.md#FLEX.API.subscription) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
*** Settings *** | ||
# Prerequisite | ||
- Deploy Msig everWallet (1000 EVER) | ||
- Mint TIP3.2 tokens (100 TSDT) for Msig everWallet | ||
- Deploy Flex client (100 EVER) | ||
- Generate pub/priv keys for Trader Id | ||
- Deploy Trader wallets (Native 100 EVER & Wrapped 50 TSDT & Wrapped 50 EVER) | ||
|
||
*** Test Cases *** | ||
# Flex client | ||
Test client deploy | ||
call Client.deploy | ||
Verify client exists | ||
|
||
# Trader | ||
Test trader deploy | ||
call Trader.dploy | ||
Verify trader exists | ||
|
||
Test deployEverWallet | ||
[after] deploy trader | ||
call Trader.deployEverWallet | ||
Verify wallet value | ||
|
||
Test deployTip31Wallet | ||
[after] deploy trader | ||
call Trader.deployEverWallet | ||
Verify wallet value | ||
|
||
Test topUp | ||
call Trader.deployEverWalletopUp | ||
Verify wallet value |
Oops, something went wrong.