I’m writing some unit tests and looking to cover a case where you can upload data without using an add_attachment variant. I was thinking that AddResult should be able to upload an image with it but I’m not seeing anything in the documentation that would suggest it can although I’m still new to the API so I might have missed it.
Thanks for the post! API methods which are not ‘add_attachment’ methods would not support file uploads at this time. The current method for adding attachments to test results through the API would be using the ‘add_attachment’ methods.
That said, there is not a current API endpoint for adding attachments to test cases themselves, as this option is only available for results at this time.
Hope this helps clarify,