Commit Graph
10 Commits
Author SHA1 Message Date
Stefan Haller 131255ccf0 Use headless mode for the "Run current file integration test" vscode task
For running an integration test just to see if it fails or succeeds,
headless mode is sufficient and actually better, because it works in
small terminals like vscode's bottom panel; the "main.go cli" way of
running tests tends to fail there because the layout renders differently
in such a small window. Headless tests use a fixed window size, so they
don't have this problem. It's also slightly faster.

The other vscode tasks (slow and sandbox) are unchanged, they only make
sense with a visible UI.
2026-06-23 13:31:03 +02:00
Stefan Haller 6064c1091c Remove "Open deprecated test TUI" vscode task
I never use this.
2026-06-23 13:31:03 +02:00
Stefan Haller 08ad8a0b2d Don't generate test list before running integration test
It's annoyingly slow, and there is a separate task for generating the list if
needed.

Also, clear the terminal before running the test; this makes it easier to see
the results of the last test run.
2025-07-04 18:26:45 +02:00
Jesse Duffield 526d8a8a76 Fix cheatsheet generate VSCode task
This was previously not working because we tried to run the whole string as its own process
2023-05-21 11:31:29 +10:00
Jesse Duffield 76109a4c44 sync test list whenever running a test in vscode 2023-02-20 19:01:08 +11:00
Jesse Duffield 0ac869a415 allow syncing tests from vscode 2023-02-19 13:38:07 +11:00
Jesse Duffield c19f52255c add task for opening deprecated tests TUI 2022-12-24 19:14:52 +11:00
Jesse Duffield 588850b090 focus terminal when running a test 2022-12-24 19:05:46 +11:00
Jesse Duffield e059641f3f more tasks 2022-11-13 12:05:07 +11:00
Jesse Duffield fb170b55a2 add some tasks 2022-11-13 11:37:52 +11:00