Kaspresso icon indicating copy to clipboard operation
Kaspresso copied to clipboard

Kaspresso economy mode

Open AzamatCherchesov opened this issue 2 years ago • 2 comments

TBD: Flag to launch Kaspresso with fewer artifacts and files

AzamatCherchesov avatar Aug 14 '23 12:08 AzamatCherchesov

Case: standard withForcedAllureSupport builder. The limit for artifacts in Gitlab is 200mb. After running 28 tests, we get 600+ MB of artifacts. I had to create a custom builder with only video recording. I would like to have flags for selecting artifacts:

  • Screenshots
  • Video
  • ViewHierarchy dump
  • Logcat dump with Kaspresso filter
  • Logcat dump without Kaspresso filter

Ideally, I would also like to choose whether to save the selected artifacts for successful tests / steps or only for failed ones. Thank you!

VladislavEremeev avatar Aug 16 '23 10:08 VladislavEremeev

I second this. Especially regarding videos - an option to delete the video recording if the test passes would save some VM resources.

It would also be great for all the failed test artifacts to have the _failure_ keyword in their names. This will greatly simplify collecting artifacts for failed tests. Currently, only screenshots and the view hierarchy artifacts have this keyword.

This is debatable, but probably the folder structure of

Documents/testSuite/test/screenshots/ Documents/testSuite/test/videos/ Documents/testSuite/test/logcat/

would also simplify artifact collection since all the files related to a test will be in a single folder (Documents/testSuite/test). Currently, you have to look for the files in different folders: Documents/screenshots, Documents/videos, etc.

Twinsen81 avatar Sep 01 '23 13:09 Twinsen81