opensearch-project / dashboards-observability

Visualize and explore your logs, traces and metrics data in OpenSearch Dashboards
https://opensearch.org/docs/latest/observability-plugin/index/
Apache License 2.0
15 stars 54 forks source link

[UNIT TESTING]: Consolidated branch for unit test coverage of across the observability plugin. #112

Open DipraAich opened 1 year ago

DipraAich commented 1 year ago

Is your feature request related to a problem? Insufficient code coverage for unit tests.

What solution would you like? Write unit test cases and cover the uncovered code.

Do you have any additional context? Following will be the coverage report: index.zip

DipraAich commented 1 year ago

Hi @anirudha & @mengweieric ,

We have covered approximately 70% from 32% coverage of the UTs. Following is the report. Most of them are now in green or yellow state. Please take a look. We have raised a PR against main for the same. This percentage excludes query manager files and trace analytics. For query manager Eric has written test cases and we have excluded trace analytics because we have no clue about what is happening in there.

File: index.zip

Thank You,