You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often we are running into issues with accounts not being updated as expect, ie bridging in overwrites the balance, and having tests that apply each event to an account and make assertions of what that account snapshot should look like would help find the issues faster.
Internal testing: If we can make some kind of helper macro that will set up the account and then use a dev-dependency like expect-test, it should give us a lot more visibility as to what failed, where and why. @eureka-cpu
E2E testing: We need a basic lasr program that will make each call that will update an account and make assertions about what that account snapshot should look like each step of the way. This program should have a deployment process eventually so that we can always have a program running that checks the effects of network on an account. @hathbanger
The text was updated successfully, but these errors were encountered:
Closes#205
Adds the tests necessary to prove events that update `Account` function
as intended. Also adds the ability to test with in-memory key-value
storage (`HashMap`) which relieves the overhead of needing a
`tikv_client` running. The `MinimalNode` testing type can eventually be
moved to its own module and expanded upon if needed, which makes testing
node processes outside of RPC calls, IPFS and other compute related
stuff (outside of the scope of these tests) relatively easy.
Often we are running into issues with accounts not being updated as expect, ie bridging in overwrites the balance, and having tests that apply each event to an account and make assertions of what that account snapshot should look like would help find the issues faster.
expect-test
, it should give us a lot more visibility as to what failed, where and why. @eureka-cpuThe text was updated successfully, but these errors were encountered: