Skip to content

Commit

Permalink
Add section on excluded plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
smheidrich committed Oct 9, 2022
1 parent a0c353d commit 5e4bfed
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,26 @@ pathlib.Path
`datafixtures`, `**/datafixtures`
</td>
</tr>
</table>
</table>


## 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.

13 changes: 13 additions & 0 deletions README.template.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,16 @@ to packaged data files than grains of sand on Earth. Here I compare them all.
{%- endfor %}
</tr>
</table>


## 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 %}

0 comments on commit 5e4bfed

Please sign in to comment.