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

Improve testing coverage #299

Open
12 tasks
philippjfr opened this issue Aug 17, 2022 · 0 comments
Open
12 tasks

Improve testing coverage #299

philippjfr opened this issue Aug 17, 2022 · 0 comments

Comments

@philippjfr
Copy link
Member

Lumen has grown a lot over time and a lot of the development was driven by the need to develop a particular feature very quickly. This has meant that code coverage hasn't been great and we are now playing catch up.

Sources

  • Test both schema and data cache locks guard against multiple thread access
  • Tests for JoinedSource
  • Tests for DerivedSource
  • Test Source.from_spec when loading from source in state.sources
  • Write test linking Source parameter to a variable

Filters

  • Write tests for all Filter types
  • Write tests for Filter.sync_with_url feature
  • Write test linking Filter parameter to a variable

Transforms

  • Write tests for all Transform types (including SQLTransform)
  • Write test linking Transform parameter to a variable

View

  • Write tests for all View types (each test should confirm get_panel works and .update works)
  • Write test linking View parameter to a variable

Auth

  • Write tests for lumen.dashboard.Auth.authorized logic (mock pn.state.user_info)
  • Write tests for lumen.auth.YamlAuthMapperPlugin transform
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant