~jaro/balkon

a289f16d666a167abba490586ba5bf88f2e47602 — Jaro 11 months ago 5a89c6f
Describe manual testing of pagination.
2 files changed, 51 insertions(+), 1 deletions(-)

M CHANGELOG.md
M TESTING.md
M CHANGELOG.md => CHANGELOG.md +3 -0
@@ 2,6 2,9 @@

## 1.0.0.1 -- TBD

* Added another test with "shaped runs" format to allow manual testing of
  pagination.

## 1.0.0.0 -- 2023-05-15

* Added new `Data.Text.ParagraphLayout.Rich` interface to support rich text.

M TESTING.md => TESTING.md +48 -1
@@ 36,7 36,7 @@ Steps:
        and checking the file's modification time.


## Script 2: Verify visual output
## Script 2: Verify visual output for a whole paragraph

Goals:



@@ 103,3 103,50 @@ Steps:
      h. The vertical space between the baselines of two adjacent lines
         appears equal.

      i. The text begins at the top of the window, with only a small amount
         of blank space below the top of the window that is not large enough to
         insert another line of text.

## Script 3: Verify visual output for pagination

Goals:

  - To identify possible visual problems created by Balkón splitting up
    a paragraph into pages.

Prerequisites:

  - Access to files from the Git repository of Balkón.

  - Successfully built Typograffiti.
    See previous script.

  - Successfully verified visual output for a whole paragraph.
    See previous script.

Steps:

  1. Run Typograffiti with the font path, face index, pixel size,
     and scale set according to the contents of the file
     `.golden/shapedRuns/spannedLoremIpsum20emPage3.fontInfo` from Balkón,
     and with input set to be read from the file
     `.golden/shapedRuns/spannedLoremIpsum20emPage3.golden` from Balkón.

  2. Verify that text is displayed in the output window.

  3. If necessary, resize the window so that the whole paragraph can be seen.

  4. Verify all of the following:

      a. There are three lines of text displayed.

      b. These three lines look exactly the same as lines 7 through 9
         of the paragraph from the previous script.

      c. All displayed lines are aligned to the left edge of the output,
         without any indentation.

      d. The text begins at the top of the window, with only a small amount
         of blank space below the top of the window that is not large enough to
         insert another line of text.