-
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
How do I get my results to show up in tests tab? #10
Comments
Off the top of my head, I don't know exactly the best way to integrate into the tests section. I know there are extension points, but I'm not sure if the output can be specified in such a way that it knows to go there. I'll mark this as needs research, but please feel free to comment back here if you find anything more out. |
@tylerbhughes to do so we just output result as Junit file ( reporters option = junit) and then added a publish result task. |
@sebcaps I tried using junit, html, and json in the Reporters setting. Each one generated an error when trying to use it. Are there any other settings I should set in addition to that one? |
@tylerbhughes can you please share logs ? (ie line starting with [command] and error below) |
Here's the log from each run. Since this is for work I've removed repo name, and repo URL. json reporter
junit repoter
html reporter
|
Hmmm. Strange. |
Yes it runs when I don't set the the reporters option. |
Hmmm I must admit that I do not have any clues... Should you have better eyes than me I share my commend line for ref. |
Only thing that jumps at me is the multiple inputs here for you @sebcaps
but @tylerbhughes only has a single for any of his three sample outputs
|
I just ran it with multiple inputs, first trying
The test runs now, I'm just not getting any test results even though I've got a Publish Test Results task. I assume that's because the reporter isn't getting loaded for whatever reason. |
Can you try tout remove Space after ,. Here I guess this is the point (?) |
Agreed, @tylerbhughes if you'll try
then I think you'll be in business. |
@sebcaps I had considered making these checkboxes originally, but opted for the flexibility of the input. Any thoughts on changing it so all possible options are checkboxes? |
@carlowahlstedt sounds good too me :-) |
After a while... How to consider migration from text to chekbox for exisiting installation ? |
I say we just add that v3 is currently in "beta" until we get things ironed out, such at this type of change. |
What happened to version 2.0? In the market place it says the current version is |
Well...the way they version is kinda odd. So there's the task (Newman) that has a version and then there's an extension package that has a version. You can put multiple tasks into an extension package. In this case, it's a 1 to 1 relation. |
@tylerbhughes Did we get this cleared up? |
Good question, I'm on 3 projects at work and I've never gotten back to this. I'll see if I can find some time to try it out. |
Finally got a chance to work on this issue this morning. Here's the summary from the build.
I'm still not getting the results in the test tab though. Does anyone know what newman names the results file? My guess is that the default value for the Publish Test Results task doesn't match the file name that newman creates. It's currently looking for |
Nevermind I figured it out. So a couple things to note: If you're trying to get the Postman results to show up in the tests tab like I've been doing you should do the following:
Do those 2 things and you're results should start showing up in the tests tab. |
Good to read it works... |
Hi.. Is it possible to export the results to PDF? |
A quick review for you @apjden585 and it looks like the docs don't mention anything about it. |
@sebcaps I've added a section about the failed test bit in the readme for future reference. |
Currently, I only get results in the Output section of my VSTS build. It'd be great if I could get the results to appear in the Tests section like they do when I run my unit tests. Any advice on how I can set this up would be much appreciated!
The text was updated successfully, but these errors were encountered: