redhat-developer / redhat-developer/yaml-language-server

Rework tests so that all schemas are locally

Open
#248 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
TypeScript
Stars
1.5k
Forks
352
Avg merge
2d 7h
Merged PRs (30d)
11

Description

Instead of relying on schemas coming from the schemastore when running tests, we should either bring those schemas locally (the easiest solution) or just write schemas for each test (would be easier to test individual components but would be longer to do initially)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the test setup and identifying where schemas are currently fetched from schemastore. Decide whether to add those schemas locally or define schemas per test, then update the tests so they run without the external schema source. Done means the test suite uses only local schemas and still covers the existing components.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.