You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently started writing tests in Solidity and run them with Forge and I absolutely love it thus far. There is, however, one thing that I miss from TypeScript, and that is the ability to group tests in context blocks.
With mocha.js, I can use either describe or context to achieve the following tree structure:
Is there something resembling this in DSTest/ Forge? If not, is there any way this could ever become supported?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I recently started writing tests in Solidity and run them with Forge and I absolutely love it thus far. There is, however, one thing that I miss from TypeScript, and that is the ability to group tests in context blocks.
With mocha.js, I can use either
describe
orcontext
to achieve the following tree structure:Is there something resembling this in DSTest/ Forge? If not, is there any way this could ever become supported?
Beta Was this translation helpful? Give feedback.
All reactions