Skip to content

Latest commit

 

History

History
177 lines (123 loc) · 7.62 KB

README.adoc

File metadata and controls

177 lines (123 loc) · 7.62 KB

Fabric8-Analytics Testing

CI Run e2e

Overview

Fabric8-Analytics is an open source analytics platform aimed primarily at assisting developers in getting insights and recommendations on the stacks used for developing applications. This platform can be used to get an overview and recommendations for single application components as well.

The following sections describe:

  • Tests available for testing your code in Fabric8-Analytics

  • Setting up CI/CD in CentOS for a new project

  • QA dashboard and code coverage reporter

  • Recommended coding standards

Note
The Fabric8-Analytics project has evolved from two different projects called Cucos and Bayesian. We are currently in the process of renaming the modules and updating documentation. Till then Cucos and Bayesian should be considered as synonyms for Fabric8-Analytics.

Testing Fabric8-Analytics Code

The following tests can be run to test your code in Fabric8-Analytics. Detailed information about each type of test is included in the corresponding folder in the repository.

  • Integration tests: The integration tests for fabric8-analytics services can be run against existing deployment, or locally using docker-compose.

  • Performance tests: A basic set of performance tests measures the component search and stack analysis at this moment.

  • Analytics API load tests to measure component and stack analysis throughput.

  • UI tests: The UI tests access OpenShift.io and check whether it is possible to create a new space, configure the project in that space, and get the stack and license analysis for this project.

  • VS Code visual tests: Visual (UI) tests for the Analytics extension for the Visual Studio Code. For further explanation please view the VS Code README document

  • Database integrity tests: Database integrity tests are described in the following document.

Standard operating procedures

In case of any issue with tests or with CI, please refer to the Standard operating procedures document.

QA Dashboard generator

The QA dashboard provides a consolidated report on the status of code coverage, performance tests and CI jobs for all the repositories in Fabric8-Analytics that contain source files.