indra icon indicating copy to clipboard operation
indra copied to clipboard

[test-runner] Make transfer/app tests more modular and consistent

Open ArjunBhuptani opened this issue 5 years ago • 0 comments

App tests should probably be structured very similarly to our app validation libraries:

  • At the lowest level we should have some basic app tests that test things like senderDeposit <= freeBalance, which should be done for every app.
  • Then we should have a set of tests that is consistent across every transfer app that checks atomicity between hops, consistent params, etc. Should be done for every transfer.
  • Lastly we should have specialized tests for each app which check only app-specific failure cases.

ArjunBhuptani avatar Apr 29 '20 14:04 ArjunBhuptani