Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Is it possible to run one script within a daml file?Forum ↗

Is it possible to run one script within a daml file?

App Development2 posts158 viewsLast activity Sep 2022
GT
gtpaulose2OP
Sep 2022

I have a bunch of unit tests in a file, and it takes a while for script results to reload when i make changes in my main DAML code. It would be great to just run one of the tests/functions in my script file.

GA
Gary_Verhaegen
Sep 2022

Hi @gtpaulose2,

You can run individual Script values (or functions of one argument that return a Script value) using the daml script CLI tool.

If your question was about the IDE, I don’t think we have any mechanism to filter what gets run at the moment. Your best bet is probably to comment out the tests you do not want to run.

← Back to Discussions