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
Scripts have annotation that allow them to restrict their dependencies, we believe it's the right way a user should influence the lockfile in the UI, but they should not change the lockfile directly.
For manual dependency management and unit testing, this is something that we do not plan to have exposed in the UI as it's already possible to do using local development and works particularly well with git sync and deployment to staging/prod associated to it because you can have those be tied to your CI and a preliminary step to merge to your prod branch. It's a better separation of concerns but right now the biggest challenge for it is to make units tests more easily compatible with windmill lockfiles and main function format. But today, with a bit of work, it's already possible to run unit tests for each function with the testing framework of your choice locally as windmill scripts are not tied to the windmill runtime and one can run them locally: https://www.windmill.dev/docs/advanced/local_development/run_locally.
Referencing my previous feature request
#4981
#4982
In my current use case, I proceed with hackish way by using inlined test section in my code to create unit test, reducing code readability
Proposing feature request:
Example view:

I think these features (see tabs for Code, Dependencies, Unit Test) for custom scripts & custom step scripts would:
The text was updated successfully, but these errors were encountered: