Skip to content

Tests using data files should be re-run at data files change #66

@alexey-vyskubov

Description

@alexey-vyskubov

Quite common scenario is the tests reading input and/or expected results from files. How can we make sure that changes in those "data files" will trigger re-run of the corresponding tests? Some approaches, with varying degree of success and complexity could be:

  • search tests for literals which are filenames
  • intercept open() somehow
  • monitor the filesystem during test run

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions