Testing contracts locally

Hello! As I’m working on a SmartPy contract, is there any way to test it locally by running a CLI command? LIGO has a dry-run command to test contracts given an endpoint to call and the value of the storage, like this:

ligo run dry-run myContract.mligo "MyEndpoint(123)" "456"

Of course I can write automated tests in the SmartPy code, but I’m looking for a quick way to verify that an endpoint works.

1 Like

Not sure we’ll add this in the future but we’re exploring the idea.

In the meantime I consider that writing Python test is not so difficult and it’s a better development process.