-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Report succesful tests and add failures to quickfix #39
Conversation
thanks @mfussenegger ! I tested it, looks better :-) I see the test results in the dap-repl, but:
It would be nice if we can reuse the same terminal to re-run the tests (or at least close automatically the previous terminal buffer) . It is a bit annoying to have a new window every time I run the tests. In case is relevant, I tested it with jdk15 and Junit4 |
This depends on the test case you're running. If it writes to stdout or stderr you should see some output in the terminal.
This is strange. What's the exact error that's written to the dap-repl, a stacktrace?
Yes I was thinking the same. This will have to change in nvim-dap itself. |
I'll check it tomorrow, I'm not sure if the test writes to strout/stderr
Yes, in dap-repl I see a stacktrace, the same I see if I run |
Could you post the stacktrace output and the name of the test class / method? There's some logic that tries to find the test class in the stacktrace to get the line number of the test case that triggered the error. If that doesn't exist it currently doesn't pop up in the quickfix list/is not counted. |
I debug it a bit, and has nothing to do with the class/method name. It only fails when I do the assert inside a
Right, if I do a |
Adresses parts of #31
recording.mp4