Project

General

Profile

action #78046

Prevent tests polluting openQA working copy source directory

Added by okurz 5 months ago. Updated 5 months ago.

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

0%

Estimated time:
Difficulty:

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

History

#1 Updated by okurz 5 months ago

  • Description updated (diff)

#2 Updated by okurz 5 months 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"

#3 Updated by okurz 5 months ago

  • Description updated (diff)

Also available in: Atom PDF