Project

General

Profile

Actions

action #78046

open

Prevent tests polluting openQA working copy source directory

Added by okurz about 4 years ago. Updated about 4 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 #1

Updated by okurz about 4 years ago

  • Description updated (diff)
Actions #2

Updated by okurz about 4 years ago

  • Status changed from Feedback to Workable
  • Assignee deleted (okurz)
  • Target version changed from Ready to future

https://github.com/os-autoinst/openQA/pull/3551 deleted, next steps as mentioned in "Suggestions"

Actions #3

Updated by okurz about 4 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF