=begin This is an automatically generated file. DO NOT EDIT. Generated from version 2.1.81 of the OpenAPI specification at https://github.com/athenianco/api-spec/releases/tag/2.1.81. Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.4.0 =end require 'spec_helper' require 'json' # Unit tests for Athenian::MetricsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'MetricsApi' do before do # run before each test @api_instance = Athenian::MetricsApi.new end after do # run after each test end describe 'test an instance of MetricsApi' do it 'should create an instance of MetricsApi' do expect(@api_instance).to be_instance_of(Athenian::MetricsApi) end end # unit tests for calc_code_bypassing_prs # Measure the amount of code that was pushed outside of pull requests. # @param body Query for measuring the amount of code that was pushed outside of pull requests. # @param [Hash] opts the optional parameters # @return [Array] describe 'calc_code_bypassing_prs test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for calc_metrics_code_checks # Calculate metrics on continuous integration runs, such as GitHub Actions, Jenkins, Circle, etc. # @param body Select the check runs of interest and the metrics to calculate. # @param [Hash] opts the optional parameters # @return [CalculatedCodeCheckMetrics] describe 'calc_metrics_code_checks test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for calc_metrics_deployments # Calculate metrics on deployments submitted by `/events/deployments`. # @param body Select the deployments of interest and the metrics to calculate. # @param [Hash] opts the optional parameters # @return [Array] describe 'calc_metrics_deployments test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for calc_metrics_developers # Calculate metrics over developer activities. # @param body Query for selecting developers and measured activities. # @param [Hash] opts the optional parameters # @return [CalculatedDeveloperMetrics] describe 'calc_metrics_developers test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for calc_metrics_jira_linear # Calculate metrics over JIRA issue activities. # @param body Query for selecting JIRA issues and measured activities. # @param [Hash] opts the optional parameters # @return [Array] describe 'calc_metrics_jira_linear test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for calc_metrics_prs # Calculate linear metrics over PRs. # @param body Desired metric definitions. # @param [Hash] opts the optional parameters # @return [CalculatedPullRequestMetrics] describe 'calc_metrics_prs test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for calc_metrics_releases # Calculate linear metrics over releases. # @param body Desired metric definitions. # @param [Hash] opts the optional parameters # @return [Array] describe 'calc_metrics_releases test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end