Open 0xpatrickdev opened 2 months ago
We have a few sections about testing dispersed throughout:
But nothing centrally, conveniently located that tells me:
- 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
packages/vats/tools/fake-bridge.js
LocalChain
Bank
Transfer
packages/orchestration/test/network-fakes
What is the Problem Being Solved?
We have a few sections about testing dispersed throughout:
But nothing centrally, conveniently located that tells me:
Description of the Design
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 marshallerpackages/vats/tools/fake-bridge.js
LocalChain
,Bank
, andTransfer
Bridgespackages/orchestration/test/network-fakes