aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-11-24 15:14:59 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-11-24 15:14:59 +0100
commitc90d5670abcf3fb984d5114ef3478129bff58fec (patch)
treefe35e4123cf25ae6a146bbf01f099ed72568b02e
parent621f50e685d9beeb1fe502a133e76fbd5a8a9c5c (diff)
downloadfuzzycat-c90d5670abcf3fb984d5114ef3478129bff58fec.tar.gz
fuzzycat-c90d5670abcf3fb984d5114ef3478129bff58fec.zip
update README
-rw-r--r--tests/fixtures/Makefile6
-rw-r--r--tests/fixtures/README.md11
-rwxr-xr-xtests/fixtures/verify-entity-download.sh2
3 files changed, 14 insertions, 5 deletions
diff --git a/tests/fixtures/Makefile b/tests/fixtures/Makefile
new file mode 100644
index 0000000..be5c111
--- /dev/null
+++ b/tests/fixtures/Makefile
@@ -0,0 +1,6 @@
+SHELL := /bin/bash
+
+.PHONY: verify-entity-download
+verify-entity-download: verify-entity-download.sh
+ bash verify-entity-download.sh
+
diff --git a/tests/fixtures/README.md b/tests/fixtures/README.md
index 26609d2..94bfcdb 100644
--- a/tests/fixtures/README.md
+++ b/tests/fixtures/README.md
@@ -1,13 +1,16 @@
# Fixtures
-Put all data files used as inputs and output here. The wiring can happen in
-code or in a TSV file (for general editing).
+Put all documents used as inputs and output here. The wiring can happen in
+code or in separate file (for general editing).
## verify.csv
-This file contains four columns: two identifiers, a match status and an optional reason.
+This file currently contains four columns: two identifiers, a match status and
+an optional reason.
-```tsv
+If you add lines to this file, the test suite will pick it up automatically.
+
+```csv
7kzrmoajzzedxgdvbltgqihszu,bd4crw4p7ber7pzhpoyw2c77bi,Status.STRONG,OK.SLUG_TITLE_AUTHOR_MATCH,
```
diff --git a/tests/fixtures/verify-entity-download.sh b/tests/fixtures/verify-entity-download.sh
index 79b2f94..790afa0 100755
--- a/tests/fixtures/verify-entity-download.sh
+++ b/tests/fixtures/verify-entity-download.sh
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# Fetches release entity references and caches them locally.
+# Fetches release entity mentioned in verify.csv and cache them locally.
set -e -u
set -o pipefail