Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List common tests in a3p proposals #1

Closed
Jorge-Lopes opened this issue Sep 11, 2024 · 1 comment
Closed

List common tests in a3p proposals #1

Jorge-Lopes opened this issue Sep 11, 2024 · 1 comment
Assignees

Comments

@Jorge-Lopes
Copy link
Collaborator

Jorge-Lopes commented Sep 11, 2024

List of common tests

Rel: Agoric#10049

Here are the tests that repeat in more than one proposal:

  • Pre-flight: not in agoricNames.instance: example
  • Bundles not yet installed: example
  • Bundle names: compartmentMap.entry: example
  • Ensure enough IST to install bundles: example
  • Ensure bundles installed: example
  • Core eval prerequisites: provision royalty, governance, etc.: example
  • Core eval proposal passes: example
  • vstorage.published.CHILD is present: example
  • agoricNames.instance is populated: example
  • ExitOffer tool reclaims stuck payment: example
  • Vat details: example
  • Localchain passes tests: example

Identify which of these tests are relevant test cases for z:acceptance

Regarding the tests listed above, I don't think that any of those are suitable as a test cases for z:acceptance.
Considering that they focus on the lifecycle of an core-eval submission and not on the expected behaviour/state of the agoric chain

Tests that seems more suitable for z:acceptance

@Jorge-Lopes Jorge-Lopes added the enhancement New feature or request label Sep 11, 2024
@Jorge-Lopes
Copy link
Collaborator Author

List of all existing test

Tests found at the a3p proposals at the current state commit:

Proposal: 49: smart-wallet-nft

  • Test File: upgrade-wf.test
  • Stage: eval
  • Tests:
    • Bundles not yet installed
    • Bundle names: compartmentMap.entry
    • Ensure enough IST to install bundles
    • Ensure bundles installed
    • Core eval proposal passes

Proposal: 53: kread-start

  • Test File: mn2-start.test
  • Stage: eval
  • Tests:
    • Pre-flight: not in agoricNames.instance
    • Bundles not yet installed
    • Ensure enough IST to install bundles
    • Ensure bundles installed
    • Core eval prerequisites: provision royalty, governance, etc.
    • Core eval proposal passes
    • vstorage.published.CHILD is present
    • agoricNames.instance is populated
    • kread committee is present

Proposal: 55: statom-vaults

  • Test File: add-collateral.test
  • Stage: eval
  • Tests:
    • Bundles not yet installed
    • Bundle names: compartmentMap.entry
    • Core eval not permitted to add/replace installations
    • Save installations before the proposal
    • Ensure enough IST to install bundles
    • Ensure bundles installed
    • Core eval proposal passes
    • priceAuthority installation was not changed

Proposal: 64: crabble-start

  • Test File: test-crabble-start
  • Stage: eval
  • Tests:
    • Pre-flight: not in agoricNames.instance
    • Bundles not yet installed
    • Ensure enough IST to install bundles
    • Ensure bundles installed
    • Core eval prerequisites: provision royalty, governance, etc.
    • Core eval proposal passes
    • vstorage.published.CHILD is present
    • agoricNames.instance is populated
    • Crab governance is present

Proposal: 65: upgrade-13

  • Test File: post.test
  • Stage: test
  • Test:
    • Open Vaults with auto-provisioned wallet

Proposal: 71: upgrade-14

  • Stage: test

Files and Tests:

  • File: ante-fees.test
    • Ante handler sends fee only to vbank/reserve
  • File: core-eval.test
    • Core eval works
  • File: post.test
    • Smart Wallet vat was upgraded
    • Zoe vat was upgraded
  • File: wallet-repairs.test
    • SmartWallet repairs

Proposal: 74: upgrade-15

  • Stage: test

Files and Tests:

  • File: exit-reclaim.test
    • ExitOffer tool reclaims stuck payment
  • File: initial.test
    • Vat details

Proposal: 75: upgrade-16

  • Stage: test

Files and Tests:

  • File: exit-reclaim.test
    • ExitOffer tool reclaims stuck payment
  • File: initial.test
    • Vat details
  • File: localchain.test
    • Localchain passes tests
  • File: probeZcfBundleCap.test
    • Upgrade Zoe to verify ZcfBundleCap endures
  • File: provisioning.test
    • Provisioning vat was upgraded
    • Send invitation via namesByAddress

Proposal: 76: vaults-auctions

  • Stage: test
  • File: upgradeVaults.test
  • Test:
    • Liquidation post-upgrade

Tests found at the agoric-sdk/a3p-integration/proposals at the current state commit:

Proposal: n:upgrade-next

  • Stage: test

Files and Tests:

  • File: initial.test
    • Vat details
  • File: localchain.test
    • Localchain passes tests
  • File: priceFeed-follower-auction.test
    • new auction vat
  • File: provisionPool.test
    • upgrading provisionPool and vat-bank

Proposal: n:stake-bld

  • Stage: test

Files and Tests:

  • File: stakeBld.test
    • basic

@Jorge-Lopes Jorge-Lopes added SoW 7 Acceptance and removed enhancement New feature or request labels Sep 11, 2024
@Jorge-Lopes Jorge-Lopes self-assigned this Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant