cursorless-dev / cursorless

Don't let the cursor slow you down
https://www.cursorless.org/
MIT License
1.14k stars 79 forks source link

Add ide-specific test-harness packages #2564

Open pokey opened 2 months ago

pokey commented 2 months ago

We are currently abusing the main field in packages/test-harness/package.json and pretending it's neovim-specific in order to ease testing locally and in CI. We should try to create a neovim-test-harness package, as well as packages for other IDEs, and I guess one generic one for things like unit tests. Talon tests might also need their own package?

_Originally posted by @pokey in https://github.com/cursorless-dev/cursorless/pull/2256#discussion_r1690019492_

saidelike commented 2 months ago

Could we have a generic entry point and abuse that main field still but have an environment variable (e.g. APP_NAME=neovim) that allows dispatching to the ide-specific test method (neovim, etc.) instead of having to create yet another package?