# Do Sway unit tests support multiple contract calls?

**URL:** <https://forum.fuel.network/t/do-sway-unit-tests-support-multiple-contract-calls/1921>\
**Category:** Sway\
**Created:** [March 1, 2023, 9:40pm UTC](https://forum.fuel.network/t/do-sway-unit-tests-support-multiple-contract-calls/1921 "2023-03-01T21:40:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mindtree](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/mindtree/32/5_2.png) [@mindtree](https://forum.fuel.network/u/mindtree)\
**Post date:** [March 1, 2023, 9:40pm UTC](https://forum.fuel.network/t/do-sway-unit-tests-support-multiple-contract-calls/1921/1 "2023-03-01T21:40:28Z")

</div>

Sway’s unit testing is a relatively new feature compared to the rest of the ecosystem.

Recently, we landed support for deploying the “local contract” and providing it’s ID under a `CONTRACT_ID` const to make it easier to test calls from local unit tests.

We’re [working on multi-contract calls currently](https://github.com/FuelLabs/sway/pull/4156), and we’ve [got some ideas](https://github.com/FuelLabs/sway/issues/3572#issuecomment-1345689958) about how to do this even for contracts that are not declared under `[contract-dependencies]`.

The current unit testing is still far from end-goal, but we’re making quick progress. See planned features/issues [here](https://github.com/FuelLabs/sway/labels/forc-test).

---

<div class="post-metadata">

**Author:** ![svntnthree](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@svntnthree](https://forum.fuel.network/u/svntnthree)\
**Post date:** [March 17, 2023, 8:59am UTC](https://forum.fuel.network/t/do-sway-unit-tests-support-multiple-contract-calls/1921/2 "2023-03-17T08:59:18Z")

</div>

very cool! thanks!!!
