wonderful-boots-93625
04/16/2024, 6:13 PMpants test specifically pytest to be able to export some contents from the sandbox? E.g. there is a plugin we are using (https://allurereport.org/) that outputs some data in the sandbox dir, wondering how we can get to it. It functions in a similar way to coverage - generating html output
only option i can think of is to specify the output directory in pytest args, but i don’t know if that will work if the dir is outside sandboxhappy-kitchen-89482
04/16/2024, 10:10 PMextra-output/ in the sandbox will get copied out to dist/happy-kitchen-89482
04/16/2024, 10:11 PM./pants test tests/:: -- --html=extra-output/report.html tells pytest to emit its html report to that path, which pants will then copy to dist/report.htmlhappy-kitchen-89482
04/16/2024, 10:12 PMdist/, but a predictable onehappy-kitchen-89482
04/16/2024, 10:12 PMextra-output/ (relative to the sandbox cwd)...wonderful-boots-93625
04/16/2024, 10:32 PMhappy-kitchen-89482
04/16/2024, 10:36 PM