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
I have implemented own extension functions to have a DSL which suits more my needs. For instance, I have a keyword inCase similar to on and itThrows similar to it.
I do not really know how the plugin works but after a quick glance I guess the current keywords a hard-coded in SpekUtil.: If so, then it would be nice if GROUP_FN and TEST_FN would be configurable.
The text was updated successfully, but these errors were encountered:
This will be a bit tricky to implement, since I have to rework how UniqueIds are generated. This ids are used to tell JUnit Platform which test to run. Currently the plugin inspects the source and build a UniqueId from it (generation code is in sync with spek-junit-platform-engine). UniqueIds are based on the description passed to test and group. We only use the source during inspection, so dynamic descriptions ("some $value") are not supported.
I have implemented own extension functions to have a DSL which suits more my needs. For instance, I have a keyword
inCase
similar toon
and itThrows similar toit
.I do not really know how the plugin works but after a quick glance I guess the current keywords a hard-coded in SpekUtil.: If so, then it would be nice if GROUP_FN and TEST_FN would be configurable.
The text was updated successfully, but these errors were encountered: