Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test items collection builder #3169

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Feb 11, 2025

Motivation

To be able to provide complete test explorer support, we should create a collection builder with a corresponding interface object that allow us to provide VS Code with all of the information needed to provide full functionality for tests.

This PR adds an initial version of a test item response builder that we can enhance as needed to represent test items.

Implementation

Created a test item object that matches what VS Code expects in the explorer. Also created a response builder to along with it.

Automated Tests

Added some tests.

@vinistock vinistock added server This pull request should be included in the server gem's release notes enhancement New feature or request labels Feb 11, 2025 — with Graphite App
Copy link
Member Author

vinistock commented Feb 11, 2025


How to use the Graphite Merge Queue

Add the label graphite-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock self-assigned this Feb 11, 2025
@vinistock vinistock marked this pull request as ready for review February 11, 2025 17:39
@vinistock vinistock requested a review from a team as a code owner February 11, 2025 17:39
@vinistock vinistock changed the base branch from main to graphite-base/3169 February 11, 2025 21:16
@vinistock vinistock force-pushed the 01-31-add_test_items_collection_builder branch from dfcc5be to b80e1d8 Compare February 11, 2025 21:16
@vinistock vinistock changed the base branch from graphite-base/3169 to 02-11-accept_module_class_node_s_constant_path_for_constant_name February 11, 2025 21:16
@vinistock vinistock force-pushed the 02-11-accept_module_class_node_s_constant_path_for_constant_name branch from c79c3e5 to 6dd76b8 Compare February 12, 2025 14:24
@vinistock vinistock force-pushed the 01-31-add_test_items_collection_builder branch from b80e1d8 to 90ea02f Compare February 12, 2025 14:24
@vinistock vinistock changed the base branch from 02-11-accept_module_class_node_s_constant_path_for_constant_name to graphite-base/3169 February 12, 2025 15:56
@vinistock vinistock force-pushed the 01-31-add_test_items_collection_builder branch from 90ea02f to e9cbf36 Compare February 12, 2025 16:53
@vinistock vinistock changed the base branch from graphite-base/3169 to main February 12, 2025 16:54
@vinistock vinistock force-pushed the 01-31-add_test_items_collection_builder branch 3 times, most recently from 675fbff to aff14cb Compare February 13, 2025 14:25
lib/ruby_lsp/requests/support/test_item.rb Outdated Show resolved Hide resolved
lib/ruby_lsp/requests/support/test_item.rb Outdated Show resolved Hide resolved
lib/ruby_lsp/requests/support/test_item.rb Outdated Show resolved Hide resolved
lib/ruby_lsp/response_builders/test_items.rb Outdated Show resolved Hide resolved
@vinistock vinistock force-pushed the 01-31-add_test_items_collection_builder branch from aff14cb to 3c2c02a Compare February 13, 2025 15:42
@vinistock vinistock added the graphite-merge Ship this PR using Graphite's merge queue label Feb 13, 2025
Copy link
Member Author

vinistock commented Feb 13, 2025

Merge activity

  • Feb 13, 10:44 AM EST: The merge label 'graphite-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Feb 13, 1:17 PM EST: A user added this pull request to the Graphite merge queue.
  • Feb 13, 1:53 PM EST: A user merged this pull request with the Graphite merge queue.

@vinistock vinistock force-pushed the 01-31-add_test_items_collection_builder branch from 3c2c02a to f5093ce Compare February 13, 2025 17:48
### Motivation

To be able to provide complete test explorer support, we should create a collection builder with a corresponding interface object that allow us to provide VS Code with all of the information needed to provide full functionality for tests.

This PR adds an initial version of a test item response builder that we can enhance as needed to represent test items.

### Implementation

Created a test item object that matches what VS Code expects in the explorer. Also created a response builder to along with it.

### Automated Tests

Added some tests.
@graphite-app graphite-app bot force-pushed the 01-31-add_test_items_collection_builder branch from f5093ce to 44a38fa Compare February 13, 2025 18:23
@graphite-app graphite-app bot merged commit 44a38fa into main Feb 13, 2025
42 checks passed
@graphite-app graphite-app bot deleted the 01-31-add_test_items_collection_builder branch February 13, 2025 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request graphite-merge Ship this PR using Graphite's merge queue server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants