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

Automate test(s) for scripted fields #8594

Closed
LeeDr opened this issue Oct 7, 2016 · 0 comments
Closed

Automate test(s) for scripted fields #8594

LeeDr opened this issue Oct 7, 2016 · 0 comments
Labels
Feature:Scripted Fields Scripted fields features good first issue low hanging fruit test

Comments

@LeeDr
Copy link

LeeDr commented Oct 7, 2016

We have broken scripted fields on a couple of occasions and could miss it in manual testing so we should automate a couple of tests.

  1. We need to make sure a scripted field shows up and has the correct values in Discover
  2. and can be used in a Metric Aggregation in a Visualization and shows the correct values
  3. should test both 'expression' and 'painless' script types

I think we already have a Discover test that verifies a document's contents (to see that it sorted by date I think). So a copy of that test after a scripted field has been created should verify the value of the scripted field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Scripted Fields Scripted fields features good first issue low hanging fruit test
Projects
None yet
Development

No branches or pull requests

2 participants