From 14ec2b5fc5719eb249dda27daa6d1ee07c8ea132 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 27 May 2025 06:11:37 +0200 Subject: improved description and discussion on testing --- _evaluation.qmd | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to '_evaluation.qmd') diff --git a/_evaluation.qmd b/_evaluation.qmd index 08d58fd..86f3b22 100644 --- a/_evaluation.qmd +++ b/_evaluation.qmd @@ -2,16 +2,19 @@ ## End-to-end testing -A testsuite has been collected for the newly introduced Markdown markup. -These tests are all end-to-end tests rather than unit tests, -since the parser logic did not invite for much separation -into multiple functions sensible to check individually. +A testsuite has been set up, +derived from the examples in the draft specification. +The testsuite contains 10 end-to-end tests. + +A build target, `make check`, has been constructed +that renders each test with the `sem-md.lua` filter enabled, +and compares the result against expected output using diff. + -*TODO*: Document test coverage, and reflect on causes. -Additionally, the code has been tested against the large testsuite -part of the commonmark-spec project, -to ensure no breakage of conventional Markdown markup. +collected for the newly introduced Markdown markup. + +*TODO*: Document test coverage, and reflect on causes. ## Validation of output formatting -- cgit v1.2.3