LaTeX-Workshop/test
2020-04-01 15:50:45 +02:00
..
fixtures Fix wrong filename 2020-04-01 15:50:45 +02:00
build.index.ts Add viewer tests. 2020-03-14 08:14:31 +09:00
build.test.ts Add build test with spaces in outdir 2020-04-01 15:20:46 +02:00
completion.index.ts Add tests of completion. Export API only when CI. 2020-03-29 10:02:03 +09:00
completion.test.ts Add tests of completion. Export API only when CI. 2020-03-29 10:02:03 +09:00
README.md Use the JSDoc format. Add badges to READEME.md. 2020-03-28 07:41:58 +09:00
runTest.ts Add tests of completion. Export API only when CI. 2020-03-29 10:02:03 +09:00
texlive_linux.profile Add integration tests of building TeX files. 2020-03-04 20:56:34 +09:00
texlive_mac.profile Add integration tests of building TeX files. 2020-03-04 20:56:34 +09:00
texlive_windows.profile Add integration tests of building TeX files. 2020-03-04 20:56:34 +09:00
utils.ts Add tests of completion. Export API only when CI. 2020-03-29 10:02:03 +09:00
viewer.index.ts Add viewer tests. 2020-03-14 08:14:31 +09:00
viewer.test.ts Add tests of completion. Export API only when CI. 2020-03-29 10:02:03 +09:00

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.