vulcan-api / spito

spito is a powerful config management system
https://vulcan-api.github.io/spito/
GNU General Public License v3.0
3 stars 0 forks source link

Rule testing support #71

Open BaderBC opened 10 months ago

BaderBC commented 10 months ago

We should allow rule makers to test their rules directly in lua I think the easiest and most comfortable way to do it is by creating a Test decorator which applied on the function indicates that it is a test function.

Btw it is inspired by how testing in rust looks like: 146772738-a405abfc-c4fc-4867-b7fc-6474a746d225.png