Open sestinj opened 3 months ago
In addition to all these I think a simple E2E test that runs in CI as part of the pre-release/release pipeline would be useful, e.g. something simple using the approaches outline here: https://code.visualstudio.com/api/working-with-extensions/testing-extension
Are these good issues to start doing? I don't want to end up duplicating work.
Hi @nmcostello , we would definitely appreciate some help ticking off items on this list! The only one I'd say to avoid is the docs crawling work since someone else will be picking that up soon.
Let us know which, if any, you end up starting 👍
Validations
Problem
Continue could use more tests. It's a piece of software that is front-and-center in the developer experience, so every bit of reliability we can add is a big deal. UI changes often, but core functionality would ideally have high test coverage.
A (not necessarily comprehensive) list of some functionality that should be tested:
update
function with some series of small changes, and checks between each that its databases are in the expected state[renderPrompt](https://github.com/continuedev/continue/blob/dev/core/promptFiles/slashCommandFromPromptFile.ts#L49)
function to validate that various .prompt files are rendered as expectedContextProviderDescription
, query, fullInput) ->Promise<ContextItem[]>
, so that it's possible to get the output ofgetContextItems
without needing to repeat all of the set up work of injectingContextProviderExtras
IDE
methods, likegetDiff
. We should test these fairly thoroughly in each IDE. For VS Code, those tests are started hereSolution
No response
From SyncLinear.com | CON-258