Open sreuland opened 1 year ago
@sreuland to evaluate if we will move tests to integration tests in soroban-tools as part of CLI
soroban cli tool tests are defined separately as integration tests in soroban-tools repo - https://github.com/stellar/soroban-tools/issues/995
What problem does your feature solve?
no automated coverage of a dapp interacting with asset contacts
What would you like to see?
new automated test that exercises e2e coverage case:
as a DApp developer, I'm able to deploy an asset contract for my asset and perform mint/burn/xfer with my asset contract between accounts and other contracts using javascript sdk.
Test should be packaged in existing system-test docker and as a go test which asserts on configurable versions of the necessary stack: cli, rpc, soroban-example contracts, and network. This scaffolding is already present in the system-test framework.
Ideally, the existing integration tests for soroban asset contracts(SAC) in monorepo could be deprecated(removed) once this is done in system-test as it will be performing duplicative coverage.
What alternatives are there?
rely on the existing integration tests for asset contracts internal to monorepo - https://github.com/stellar/go/blob/soroban-xdr-next/services/horizon/internal/integration/sac_test.go for limited coverage of SAC, the tests do not use javascript.