Project

General

Profile

Actions

action #78046

open

Prevent tests polluting openQA working copy source directory

Added by okurz over 3 years ago. Updated over 3 years ago.

Status:
Workable
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2020-11-16
Due date:
% Done:

0%

Estimated time:

Description

Motivation

See https://github.com/os-autoinst/openQA/pull/3551#issuecomment-726167399

Acceptance criteria

  • AC1: No tests within openQA pollute the working copy with temporary data
  • AC2: .gitignore does not exclude any temporary test files and folders

Suggestions

  • DONE Exclude known temporary data in .gitignore for now -> https://github.com/os-autoinst/openQA/pull/3551
  • Have a check for "no uncommited files after test runs" and then do the test changes
  • I would not just delete temporary files generated by tests at the end of test but also think about different, proper temporary directories which means we should change the already existing tests for the already existing entries in .gitignore
Actions

Also available in: Atom PDF