elastic / elastic/logstash

Create shared example in devutils for each plugin to verify that the initialize params are not modified

Open
#4,486 0 comments 0 reactions 0 assignees View on GitHub
tests
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
1d 4h
Merged PRs (30d)
88

Description

As a plugin author can override `initialize` and can undo the deep_clone of the params in `plugin.rb` we should have a shared example that is run in the plugin repo specs.

Contributor guide

Open the contributing guide

Research direction

Start by reading plugin.rb to understand the existing deep_clone behavior, then inspect devutils for existing shared examples and the plugin repository specs that consume them. The work is done when each plugin's specs can run the shared example and verify that initialize parameters are not modified.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
testing-qa
Issue type
Feature
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.