iroha icon indicating copy to clipboard operation
iroha copied to clipboard

Develop Genesis test data Generators for SDKs Test Preparations

Open AlexStroke opened this issue 2 years ago • 1 comments

We aim to streamline our testing process by introducing a genesis test data generator. This tool will encapsulate test preconditions within a custom Genesis block, allowing each test to focus solely on the assertion step.

AlexStroke avatar Apr 24 '23 11:04 AlexStroke

Scenario to check and automation:

Register the domain "kingdom". Register the account "bob@kingdom". Register the trigger "trigger$kingdom" to mint the asset "rose#wonderland". Execute the trigger "trigger$kingdom" by the user "alice@wonderland". Grant the permission token "CanExecuteUserTrigger" to "bob@kingdom". Execute the trigger "trigger$kingdom" by the user "bob@kingdom". Revoke the permission token "CanExecuteUserTrigger" from "bob@kingdom". Attempt to execute the trigger "trigger$kingdom" again by the user "bob@kingdom".

alexstroke1 avatar Aug 01 '24 09:08 alexstroke1