How to use vessel to simulate different accounts for testing

The vessel is useful for testing the functions in motoko module, but I don’t find the example and doc to test different accounts call the function in actor, and check the influence.

I believe Motoko-matchers has a way of testing canisters.

To test different accounts calling an actor, you might be able to use an actor class to programmatically create various accounts as actors that call the actor under test.

To use canister call: GitHub - chenyan2002/ic-repl

2 Likes