sporeprotocol / spore-sdk

The Ultimate TypeScript SDK for Spore Protocol
https://docs.spore.pro
MIT License
13 stars 11 forks source link

Rewrite on-chain transaction-related tests #54

Closed ShookLyngs closed 10 months ago

ShookLyngs commented 10 months ago

Description

Currently, our on-chain transaction-related test cases, such as creating/transferring Spores on the CKB testnet, can only be run locally with manual adjustments. This is hindering our goal of implementing GitHub Automations. Therefore, I'd like to rewrite all the following test cases, focusing on testing the major features of Spore.

Status

Tests

Basics

Cluster

Spore

Basic operations

Immortal

Referencing Cluster

ClusterProxy & ClsuterAgent

ClusterProxy

ClusterAgent

Spore

ashuralyk commented 10 months ago

running in native denet of CKB requires to rewrite entire test cases?

ShookLyngs commented 10 months ago

running in native denet of CKB requires to rewrite entire test cases?

Mainly, the tests with pre-requirements (e.g., requiring a Spore ID to transfer the Spore) will be rewritten. So I think this is focused on automating our tests.

ShookLyngs commented 10 months ago

On-chain transaction-related tests have been rewritten in #56.