--
You received this message because you are subscribed to the Google Groups "libral" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libral+unsubscribe@googlegroups.com.
To post to this group, send email to lib...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/libral/CAHN%2BA%2BXF5S1dUmuEr1dOfxoZazhUQ6xMja%3Dnvj9zxkdyDpiKMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/libral/CALF7fHYKRe6UrNgWAQAL1rGv_kY0Q4h-1EfkZX1QRFt5%3Dq203w%40mail.gmail.com.
I had a go at putting something together in this PR - I moved away from writing tests in pure YAML since that seemed too clunky and opted for writing my own crappy DSL. One of the shortcomings of pure YAML is that you want to allow some light computation (like getting the current user's name from ENV) that would just require some homegrown expression language.The sample test gives a hint of where this could go; though I am now leaning more towards using an existing test framework with lots of predefined helpers. The homegrown crappy DSL will invariably become too hard to understand, I fear.
But even in this rudimentary form, it's been really helpful in uncovering problems, both with the provider, as with the general framework; one fun question I stumbled over: validating a resource with 'ensure=absent' against the provider schema is not really what anybody should be required to do.