-
Notifications
You must be signed in to change notification settings - Fork 125
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
Adopt new Test APIs #1162
Comments
@jdneo Is there any chance of leveraging the The other place For context, working on an integration that leverages test results on the new Testing API. |
@TimWebb Do you mean set the location to the exact line where the case is failed (instead of appearing at the method definition)? |
@jdneo Yes, that was my intent. More specifically, if an assert fails, have the TestMessage's location of the assert match the location in the method for the given assert. Similarly if something triggers an exception, we could have a TestMessage for the exception in potentially even a different file - such as extract from the exception stack the location in testMethod() that resulted in the failure. |
Currently we will put a diff view at the location of assertion failure (in most cases, since it's parsed via regexp) But I agree put the stacktrace to where it happens is a good idea.
Not quite sure about this. My concern is how user can know which case generates this message if they located in different files. BTW I created an issue for this: #1266. You can add some comments there. |
VS Code team is working on a new set of testing APIs. We plan to migrate to that API to provide better and more unified experience for testing scenarios.
The text was updated successfully, but these errors were encountered: