Edit test/README.md [skip ci]

This commit is contained in:
Takashi Tamura 2022-04-06 14:43:59 +09:00
parent d9d27929c9
commit c3964b8780

View File

@ -2,7 +2,7 @@
## Executing tests
We start a new VS Code instance for each `fixture` directory in `fixtures/build/` and others, which includes a TeX file for tests, and execute an appropriate test defined in `build.test.ts` while skipping other tests not related to the directory. For tests of building a LaTeX file, we try to build a LaTeX file in the directory. If a PDF file is not generated, the test fails. With this approach, we can debug the extension by opening a TeX file in the `fixture` directory if the test fails.
We start a new VS Code instance for each `fixture` directory in `fixtures/*/` and others, which includes a TeX file for tests, and execute an appropriate test defined in `*.test.ts` while skipping other tests not related to the directory. For tests of building a LaTeX file, we try to build a LaTeX file in the directory. If a PDF file is not generated, the test fails. With this approach, we can debug the extension by opening a TeX file in the `fixture` directory if the test fails.
## How tests executed