I want to be able to write unit tests in sway where I can use multiple accounts to call functions. How to do that. There is not much documentation on unit tests.
no, it is not possible as of now. But I will ask the team and lyk if we are considering it in the future
Unit tests in Sway are somewhat limited at this time.
While we plan on expanding support for these tests over time, you should currently use the Rust or TypeScript SDKs for writing more complex tests.
1 Like