Skip to content

[Feature Request] Run tests in dedicated (write-once) directory #1212

@mbuechse

Description

@mbuechse

We should introduce the concept of a results directory for a run. Either the user supplies one on the command-line, or one is created automatically (e.g., using subject, date, and time). This directory can later be used to diagnose problems with the tests. And tests then have a place for storing bigger log files etc.

The kaas tests already use a subject-specific directory for placing ephemeral kubeconfig.yaml during provisioning of the test cluster. Note that this directory is not specific to the run (even though it's currently abused also for results). However, we could copy its contents into the run-specific directory before the test is run: (a) so the test doesn't need to look at two different directories, and (b) to preserve its contents as part of the run's documentation.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions