evomimic / map-holons

3 stars 1 forks source link

Basic Tryorama Tests #78

Closed evomimic closed 4 months ago

evomimic commented 4 months ago

Implement client-side tests (via Tryorama) that exercise the Uniform API and match the current set of guest-side tests (via rpm run sweetest).

Background

This issue tests the following dances currently offered by the Uniform Test API.

The holon_dance_adapter.rs file includes "build_xxx" functions that build (guest-side) DanceRequest objects for each of the dances offered by the Holons zome. For Tryorama, we will need similar client-side DanceRequest builders.

Test cases are composed from test steps.

Definition of Done

The following test cases all pass:

evomimic commented 4 months ago

@nphias : I noticed you created a branch for this issue. Not sure what you branched from, but we've done a lot of merging over the last several days. I suggest you rebase to branch #36. It has the latest working sweetests and supports the following dances:


- "get_all_holons"
- "get_holon_by_id"
- "stage_new_holon"
- "commit"
- "with_properties"
- "add_related_holons"
nphias commented 4 months ago

created a new branch from main.. updated tryorama tests .. using the universal API. .. get_all_holons works .. Work in progress

nphias commented 4 months ago

test 1 is done and committed .. continuing with 2 and 3 when the api is ready

evomimic commented 4 months ago

I'm reviewing the PR for abandon changes right now.