README.adoc
1// Copyright 2023 The Khronos Group Inc.
2// SPDX-License-Identifier: CC-BY-4.0
3
4= Reflow Tests
5
6This directory contains test source and expectation files for the `reflow.py`
7script. These files are used by the tests in `test_reflow.py`, which is run as
8part of `pytest`.
9
10The tests reflow each source file (`src-<name>.adoc`) with multiple
11configurations (with or without VUID assignment, with or without reflowing the
12text), and match them against the expectation (`expect-<name>-<options>.adoc`).
13
14After running `pytest`, if any `test_reflow.py` test fails for example because
15the reflow script has been modified to function differently, the test results
16can be found under `results/<options>/src-<name>.adoc` and needs to be manually
17reviewed for correctness. Once correctness of new results are verified, the
18expectations can be updated with:
19
20----
21$ ./update-expectations
22----
23