in tests wie love to use `long sententces with bla...
# javascript
t
in tests wie love to use
long sententces with blanks as test names
. As this is not valid in javascript wie use
@JsName("testN")
annotations. but this still tedious. is there a way to autogenerate the js functionname for test functions?
e
I was wondering about this too. Naming tests in this fashion really improves readability, but seems to be an issue on anything other than JVM. I suspect that a compiler plugin tied to the Test annotation would be required to translate symbols to something each platform can understand, but curious if there are other ideas on this.
t
yeah indeed i thought about writing my own annotation processor but gave up really quick as i found that this would only know the jvm-source set but the
@JsName
annotation is unknown there (also i dont have clue if that would ever had worked out)