stellar / system-test

Home of the stellar/stellar-system-test docker image for e2e system testing
1 stars 5 forks source link

System Test: as a DApp developer, I'm able to deploy asset contract and mint/xfer/burn. #22

Open sreuland opened 1 year ago

sreuland commented 1 year ago

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.

sydneynotthecity commented 1 year ago

@sreuland to evaluate if we will move tests to integration tests in soroban-tools as part of CLI

sreuland commented 1 year ago

soroban cli tool tests are defined separately as integration tests in soroban-tools repo - https://github.com/stellar/soroban-tools/issues/995