All Posts

Release: Test coverage, meta config for analyzers

Release: Test coverage, meta config for analyzers

Introducing, test coverage tracking

Test coverage is an important metric to keep track of, which helps measure effectiveness of our tests and ensure correctness of our code. We've shipped the first version of DeepSource CLI to facilitate pushing coverage reports via CI systems like Travis, Circle, et al. The test coverage analyzer now accepts coverage report file in Cobertura format for Python projects, and shows you metrics and issues around code coverage.

DeepSource history page for test coverage

History > Run > Test Coverage

We've written guides for Travis CI and Circle CI to get you started.

New meta configuration for Python analyzer

The core Python analyzer now supports two new meta configuration options -- max_line_length and skip_doc_coverage. This will help you customize how DeepSource works for your specific needs and tastes. Read the documentation and update your .deepsource.toml to customize these issues.

File contents of .deepsource.toml

GitHub > .deepsource.toml contents

DeepSource CLI is now open-source

We've released first version of the CLI. The source code is open, take a look -- github.com/deepsourcelabs/cli.

CLI screenshot

Command Line Interface > Usage

The CLI helps you send artifacts used by analyzers, like test coverage report to the newly release test-coverage analyzer. The future holds many more capabilities!

If you need help with the integration, I'm happy to get you on board. Let me know at jai@deepsource.io.

Cheers!

Get started with DeepSource

DeepSource is free forever for small teams and open-source projects. Start analyzing your code in less than 2 minutes.

Newsletter

Read product updates, company announcements, how we build DeepSource, what we think about good code, and more.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.