Post
Share your knowledge.
doodee105
Mar 23, 2025
Expert Q&A
Is the test_scenario module deprecated in SUI?
I think the 'test_scenario' module is missing in the SUI framework. Is it being deprecated, or is there another reason? Also, what is the testing approach now?
- Move CLI
1
1
Share
Comments
Answers
1elfDani139
Mar 24 2025, 04:01No, the 'test_scenario' module is not being deprecated. It remains an important part of the testing framework. The module is designed for testing purposes and is located at: https://github.com/MystenLabs/sui/blob/main/crates/sui-framework/packages/sui-framework/sources/test/test_scenario.move. It is marked as #[test_only], meaning it is used exclusively for tests and won’t appear in the mainnet state.
1
Comments
Do you know the answer?
Please log in and share it.
Move is an executable bytecode language used to implement custom transactions and smart contracts.
148Posts231Answers

Reward CampaignJune
- ... SUIderiss+5
- ... SUIRamirez+5
- ... SUIElvin CLONE +5
- ... SUI
- ... SUI
- ... SUI
- ... SUIBritain+2
Bounty Posts