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
Right -- fregot needs to be aware of the definitions to run them. You can pass multiple files and/or directories to fregot test, so you can try something like: fregot test lib rules tests examples (or anything more fine-tuned as well). But since Regula tests require a little bit of set up, I would start by copying some existing tests in the Regula repository and then go from there.
Hello,
Is it possible to use
fregot test
to run unit tests of Regula advanced rules making use offugue.resources
,fugue.deny_resource
and similar functions?So far, simply running
fregot test
raises errors because it's not aware of the definition of these functions:Thanks!
The text was updated successfully, but these errors were encountered: