I think I see what you mean, though in the kotlinx...
# test
j
I think I see what you mean, though in the kotlinx.html library there are very few tests, there seems to only be tests for the syntactic sugar layer. The real question is what would tests that actually use the DSL look like. What tests would be used in the app that consumes other kotlinx.html library. Are there any examples of that? Testing the DSL itself is fine, that makes sense to me. It's testing the results of the usage of the DSL that I'm really having trouble finding good examples of. I think this is especially true because many DSLs are specifically for creating UI, which you generally don't unit test. But even libraries that create non-UI DSLs (such as teh state machine ones I have been looking at) don't have unit tests for the example implementations they have in their Readme files.