Skip to content

Releases: omarkohl/pytest-datafiles

3.0.0

24 Feb 10:28
02969ca
Compare
Choose a tag to compare

3.0.0

Changed

  • BREAKING CHANGE: Using pathlib.Path instead of py.path #7
  • BREAKING CHANGE: Removed support for Python 2.7 and Python 3 <= 3.6

2.0.1

01 May 09:42
Compare
Choose a tag to compare

Fixed

  • Register custom marker 'datafiles' to avoid PytestUnknownMarkWarning #18

2.0

07 Oct 11:21
Compare
Choose a tag to compare
2.0

Added

  • Explicit support for Python 3.6 (no changes were necessary)

Removed

  • BREAKING CHANGE: Python 2.6 is no longer supported (because we rely on pytest >= 3.6)

Fixed

  • Use the new pytest mark API to fix MarkInfo warnings (#2)
  • BREAKING CHANGE: Symlinks are now copied as links instead of copying the target they point to (#1)

1.0

24 Jun 19:09
Compare
Choose a tag to compare
1.0
  • Bump version to 1.0 to signal that the plugin is stable
  • Minor refactorization without repercussions for users
  • Only use regular 'paths' (str) instead of py.path objects in documentation
    examples because they were confusing to some people (unfamiliar with py.path)

0.2

02 Sep 19:50
Compare
Choose a tag to compare
0.2
  • Support for directories
  • Option 'keep_top_dir' to keep the top level directory (instead of only
    copying its content). Possible values are: True, False (default)
  • Option 'on_duplicate' to specify what to do when duplicate files or
    directories are encountered. Possible values are: 'exception' (default),
    'ignore', 'overwrite'

0.1

01 Aug 21:55
Compare
Choose a tag to compare
0.1

Added

  • Specify one or multiple files to be copied by decorating the test function