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

Expand Testing Sidebar - Centrally locate all testing resources #1193

Open
0xpatrickdev opened this issue Sep 6, 2024 · 0 comments
Open

Comments

@0xpatrickdev
Copy link
Member

What is the Problem Being Solved?

We have a few sections about testing dispersed throughout:

But nothing centrally, conveniently located that tells me:

  • what types of testing options are available (unit, swingset, a3p, walletDriver, multichain, synpress)
  • how to setup tests in my project
    • I would expect to be able to copy test setup and some example tests from the docs site

Description of the Design

  1. The End-To-End Testing section should be expanded to "Testing" and include the following sections (sans parens):
- Testing
   - Unit Testing (setupZoeForTest/makeZoeKitForTest, exo unit testing, mocked endowments*)
  - SwingSet Testing (runUtils, walletDriver)
  - A3P Testing (a3p docker images)
  - E2E UI Testing (synpress)
  - E2E Multichain Testing (multichain-testing / starship)

The sections should mention what each tool helps you achieve and when to reach for each.

*mocked endowments include things like:

  • buildManualTimer (chainTimerService)
  • makeFakeStorageKit (chainStorage)
  • makeFakeBoard and marshaller
  • packages/vats/tools/fake-bridge.js
    • LocalChain, Bank, and Transfer Bridges
  • packages/orchestration/test/network-fakes
    • IBC vat and bridge and Network vat for orchestration testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant