From 5e4bfedf8bc915d63848129099a8cadb9ed7057d Mon Sep 17 00:00:00 2001 From: smheidrich Date: Sun, 9 Oct 2022 23:26:35 +0200 Subject: [PATCH] Add section on excluded plugins --- README.md | 24 +++++++++++++++++++++++- README.template.md | 13 +++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 22d9b3d..8d8326f 100644 --- a/README.md +++ b/README.md @@ -72,4 +72,26 @@ pathlib.Path `datafixtures`, `**/datafixtures` - \ No newline at end of file + + + +## Excluded + +These plugins have names that might suggest they'd do something similar, but +have slightly different aims than just providing convenient access to packaged +data files: + +- [pytest-datadir-mgr](https://pypi.org/project/pytest-datadir-mgr/): + More about downloading, caching etc. than just providing convenient access to + packaged data files. +- [pytest-data-file](https://pypi.org/project/pytest-data-file/): + More about loading data from files than just providing raw access. +- [pytest-datafiles](https://pypi.org/project/pytest-datafiles/): + Doesn't provide much in the way of simplifying access to packaged files. More + focused on the copy-to-temp aspect. +- [pytest-data-from-files](https://pypi.org/project/pytest-data-from-files/): + Like pytest-data-file, more about implicitly loading test data from files + than giving access to those files. +- [pytest-filedata](https://pypi.org/project/pytest-filedata/): + Also more about parametrizing tests with data from files. + diff --git a/README.template.md b/README.template.md index ebe59e1..f8d4ed5 100644 --- a/README.template.md +++ b/README.template.md @@ -37,3 +37,16 @@ to packaged data files than grains of sand on Earth. Here I compare them all. {%- endfor %} + + +## Excluded + +These plugins have names that might suggest they'd do something similar, but +have slightly different aims than just providing convenient access to packaged +data files: + +{% for plugin in excluded_plugins -%} +- [{{ plugin.name }}]({{ plugin.pypi_url }}): + {{ plugin.reason|wordwrap(77)|indent(2) }} +{% endfor %} +