mirror of
https://github.com/James-Yu/LaTeX-Workshop.git
synced 2024-10-05 15:50:41 +03:00
.. | ||
fixtures | ||
build.index.ts | ||
build.test.ts | ||
completion.index.ts | ||
completion.test.ts | ||
README.md | ||
runTest.ts | ||
texlive_linux.profile | ||
texlive_mac.profile | ||
texlive_windows.profile | ||
utils.ts | ||
viewer.index.ts | ||
viewer.test.ts |
Overview
Executing tests
We start a new VS Code instance each fixture
directory in fixtures/build/
and fixtures/viewer/
, and execute an appropriate test defined in build.test.ts
while skipping other tests not related to the directory. Each test tries to build a TeX 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.