-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normalize multiline string spec test names. #252
Normalize multiline string spec test names. #252
Conversation
I believe this would solve #255 as well.. need to verify it. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Any news ? |
That's not really nice. I take the time to submit a PR that fixes an issue. Nobody reacts, which I can understand, we are all busy, but then it's closed automatically. Come on... |
Just the stale bot. Reopened. |
@canatella if you build this locally and install it, can you confirm you can then run multi-line tests from intellij? I think we need to check as well that if you have a test with double spaces deliberately, it still works, because you're matching on \s+ rather than \n say. |
842d8b7
to
0f061cc
Compare
@sksamuel I'm trying to add a unit test, but it seems I can't run them. What is the proper way to run the tests ? I'm using
But I have
|
That seems to be an issue with any of the 23x builds. I test locally against 22x. |
Currently, when defining a test in a
StringSpec
with multiple lines, it cannot be run by clicking the icon next to it. For example:The output when hitting the run single test icon:
... io.kotest.engine.launcher.MainKt --spec com.bloomlife.lib.athena.MyTests --testpath This test name is spread over multiple lines withe indentation. --reporter teamcity
Testing started at 10:54 ...
Process finished with exit code 0