Skip to content

Commit

Permalink
Replace bools by checkmarks & indent
Browse files Browse the repository at this point in the history
  • Loading branch information
smheidrich committed Oct 9, 2022
1 parent 069c66a commit bc8ec23
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 96 deletions.
134 changes: 68 additions & 66 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,72 +6,74 @@ to packaged data files than grains of sand on Earth. Here I compare them all.
## Comparison

<table>
<tr>
<th>Name / URL</th>
<th>Supports copying to temp dir</th>
<th>Supports accessing without copying</th>
<th>Paths provided as</th>
<th>Fixture names</th>
<th>Folder names</th>
</tr>
<tr>
<td>
<a href="https://pypi.org/project/pytest-datadir/">pytest-datadir</a>
</td>
<td>
True
</td>
<td>
False
</td>
<td>
pathlib.Path
</td>
<td>
`datadir`, `shared_datadir`
</td>
<td>
`data`, `test_TEST_NAME`
</td>
<tr>
<td>
<a href="https://pypi.org/project/pytest-datadir-ng/">pytest-datadir-ng</a>
</td>
<td>
True
</td>
<td>
True
</td>
<td>
py.path
</td>
<td>
`datadir`, `datadir_copy`
</td>
<td>
`data`, `data/test_TEST_NAME`, `test_TEST_NAME`
</td>
<tr>
<td>
<a href="https://pypi.org/project/pytest-datafixtures/">pytest-datafixtures</a>
</td>
<td>
False
</td>
<td>
True
</td>
<td>
pathlib.Path
</td>
<td>
`datafix`, `datafix_dir`, `datafix_read`, `datafix_readbin`
</td>
<td>
`datafixtures`, `**/datafixtures`
</td>
</tr>
<tr>
<th>Name / URL</th>
<th>Supports copying to temp dir</th>
<th>Supports accessing without copying</th>
<th>Paths provided as</th>
<th>Fixture names</th>
<th>Folder names</th>
</tr>
<tr>
<td>
<a href="https://pypi.org/project/pytest-datadir/">pytest-datadir</a>
</td>
<td>
</td>
<td>
</td>
<td>
pathlib.Path
</td>
<td>
`datadir`, `shared_datadir`
</td>
<td>
`data`, `test_TEST_NAME`
</td>
</tr>
<tr>
<td>
<a href="https://pypi.org/project/pytest-datadir-ng/">pytest-datadir-ng</a>
</td>
<td>
</td>
<td>
</td>
<td>
py.path
</td>
<td>
`datadir`, `datadir_copy`
</td>
<td>
`data`, `data/test_TEST_NAME`, `test_TEST_NAME`
</td>
</tr>
<tr>
<td>
<a href="https://pypi.org/project/pytest-datafixtures/">pytest-datafixtures</a>
</td>
<td>
</td>
<td>
</td>
<td>
pathlib.Path
</td>
<td>
`datafix`, `datafix_dir`, `datafix_read`, `datafix_readbin`
</td>
<td>
`datafixtures`, `**/datafixtures`
</td>
</tr>
</table>


Expand Down
60 changes: 30 additions & 30 deletions README.template.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,36 @@ to packaged data files than grains of sand on Earth. Here I compare them all.
## Comparison

<table>
<tr>
<th>Name / URL</th>
<th>Supports copying to temp dir</th>
<th>Supports accessing without copying</th>
<th>Paths provided as</th>
<th>Fixture names</th>
<th>Folder names</th>
</tr>
{%- for plugin in plugins %}
<tr>
<td>
<a href="{{ plugin.pypi_url }}">{{ plugin.name }}</a>
</td>
<td>
{{ plugin.supports_copying_to_temp }}
</td>
<td>
{{ plugin.supports_access_without_copying }}
</td>
<td>
{{ plugin.provided_as }}
</td>
<td>
{{ plugin.fixture_names|map('tojson')|join(', ')|replace('"', '`') }}
</td>
<td>
{{ plugin.folder_names|map('tojson')|join(', ')|replace('"', '`') }}
</td>
{%- endfor %}
</tr>
<tr>
<th>Name / URL</th>
<th>Supports copying to temp dir</th>
<th>Supports accessing without copying</th>
<th>Paths provided as</th>
<th>Fixture names</th>
<th>Folder names</th>
</tr>
{%- for plugin in plugins %}
<tr>
<td>
<a href="{{ plugin.pypi_url }}">{{ plugin.name }}</a>
</td>
<td>
{% if plugin.supports_copying_to_temp %}✅{% else %}❌{% endif %}
</td>
<td>
{% if plugin.supports_access_without_copying %}✅{% else %}❌{% endif %}
</td>
<td>
{{ plugin.provided_as }}
</td>
<td>
{{ plugin.fixture_names|map('tojson')|join(', ')|replace('"', '`') }}
</td>
<td>
{{ plugin.folder_names|map('tojson')|join(', ')|replace('"', '`') }}
</td>
</tr>
{%- endfor %}
</table>


Expand Down

0 comments on commit bc8ec23

Please sign in to comment.