How to import attachments using Testiny CLI

Hi Team,
I’d like to inquire about importing attachments when using the Testiny CLI (e.g., testiny-importer testrun *******).

While the documentation mentions that testiny-importer can detect and upload files linked to tests, it doesn’t specify how these files should be named or organized. Could you clarify the expected naming convention or directory structure for attachments?

Our goal is to ensure all attachments (e.g., screenshots or logs) for failed test cases are successfully uploaded when importing a CSV to Testiny. Any guidance on this would be greatly appreciated.

The documentation you’re referring is specific to Testiny’s new approach for automated test results, i.e. running testiny-importer automation:

When using this new approach (using the CLI, not the importer), attachments linked in automated test result files (e.g. XUnit files) will automatically be found and uploaded (provided that the files are placed relative to the test results file).

Unfortunately, importing attachments is not an option for the testiny-importer testrun approach, which was primarily intended to import results from manual test.

If you’re importing results from automated tests, I would highly recommend trying out the new automation approach :slight_smile:

Best regards,
Alex