Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Old test screenshots associated with new tests #280

@jraska

Description

@jraska

Hi,

When no screenshots are taken during test suite, no old screenshots are deleted. Naturally because no Spoon method is called, but unfortunately these old screens are associated after that with current tests by runner.

This happens to me when I take screenshots only on failures and old screenshots appear in output after successful run, because there are collected by runner at the end of tests run.

I understand that you cannot do anything with that when no Spoon method is called, but I would appreciate some possibility to call clearing this dir, because now all methods handling that are private or runner itself could delete this old files during start of tests.
Now I solved it with taking one screenshot at the very beginning of test suite and immediately deleting it, but I don't consider this as ideal solution.

Thanks for reply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions