-
Notifications
You must be signed in to change notification settings - Fork 783
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
please provide an API to get the entire expected and actual results #1713
Comments
Where and when is your code running that you're looking for this API? |
As per the link in the request, the JetBrains Rider team would like to add a unit test diff tool similar to what they have in IntelliJ, but can't provide it without the API. See https://www.youtube.com/watch?v=R8l6D3qGSdg for an example of the tool working using JUnit. |
That doesn't really answer my questions as to what kind of an API you'd expect, and to be called at what stage during the process. Are you post-processing our XML file? Are you writing a test runner? etc. |
Yes, it is extending the current runner in Rider. @gorohoroh, could you provide @bradwilson with some details on this please? |
I'd rather ask @AndreyAkinshin to provide any details and API expectations beyond what's covered in the comment. |
@bradwilson, @andyczerwonka, @gorohoroh |
Any updates? I think this feature is really needed by the compiler and tooling community (I'm in the community btw). There is really common pattern when some input data like a code is being processed and the result artefact (like code in the target language, intermediate representation, etc) is being compared with the expected one. In this case you need to understand where is that hucking extra space or comma In the JVM world we already have JUnit which assertions have these fields. It is really useful, see video from andyczerwonka in the JB YouTrack |
@vldF This is not currently on our backlog. |
In order for tool providers (JetBrains Rider in this case) to provide diff tools, could you please provide an API to get the entire expected and actual results of a test?
The text was updated successfully, but these errors were encountered: