diff options
Diffstat (limited to 'test/run-tests.sh')
| -rwxr-xr-x | test/run-tests.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/run-tests.sh b/test/run-tests.sh index 4d950dc..615c64f 100755 --- a/test/run-tests.sh +++ b/test/run-tests.sh @@ -23,7 +23,8 @@ # 3 test-abstraction-db.sh the two serialisations agree # 4 test-abstraction-db-roundtrip.sh the .db can be read back whole # 5 test-ocn-alignment.sh the languages agree on their ocns -# 6 test-epub-validity.sh the epubs a reader can actually open +# 6 test-acceptance-db-to-pod.sh a database gives its document back +# 7 test-epub-validity.sh the epubs a reader can actually open # # None of them calls another, and each can be run on its own. The order # matters only for reading the result: @@ -42,6 +43,13 @@ # translations and reports nothing about the other documents. It will # fail if those translations are mended, which is the right moment to # hear about it. +# - 6 is the acceptance test for the document source claim, and the widest +# of them: it builds a document from its pod and again from the database +# that build produced, and requires the two output trees to be identical. +# Where 3 and 4 check one serialisation against another, this checks a +# whole document through the whole pipeline twice. If it fails and the +# others pass, what broke is the carrying or the materialising rather +# than the abstraction. set -e @@ -68,6 +76,7 @@ test-abstraction-ssp-roundtrip.sh test-abstraction-db.sh test-abstraction-db-roundtrip.sh test-ocn-alignment.sh +test-acceptance-db-to-pod.sh test-epub-validity.sh" PASSED=0 |
