Jump to content
Coverity® Test Advisor improves the efficiency of unit testing by focusing developer time and resources on the most critical parts of the code.
Unit testing is valuable in concept but inefficient in practice. Code coverage is commonly used as the metric to determine ‘adequate vs. inadequate’ testing in development, but can be misleading. Without the proper insight into the code, coverage is just an arbitrary number which wastes developer time and increases risk.
With Test Advisor, you can:
Establish and enforce consistent unit testing rules across projects and teams based on your high risk criteria. This ensures high risk and changed code is tested sufficiently as part of a standardized process. For example, a sample test rule could be defined as follows:
100% coverage must be achieved for:
Test Advisor provides sample rules to help you get started and supports the creation of customized rules based on your organization and codebase. Testing rules guide developers on what tests they need—and don’t need—to write.
Coverity Static Analysis Verification Engine (Coverity SAVE®) is the analysis foundation for the Coverity Development Testing platform. This award-winning analysis engine applies multiple patented techniques for accurate issue detection, based on a decade of research and development and analysis of over 5 billion lines of proprietary and open source code.
As a foundation for Test Advisor, Coverity SAVE intelligently tests code with a deep understanding of its behavior, criticality and change impact to focus testing on high risk areas and analyze unit test effectiveness based on your defined testing rules.
New innovations include:
Automatically map code and function dependencies to analyze all impacted code related to a change—both code that has been directly modified and unmodified code that is impacted by the code change. Risk and code change go hand-in-hand, so the only way to ensure complete testing coverage over high risk code is to understand the full scope and impact of a change.
Automatically correlate discrete data from multiple sources, including Coverity SAVE®, test coverage and source control management, turning data into actionable testing intelligence so you can easily identify untested code violations based on your defined rules.
For example, the only way to verify if the above testing rule has been met is to correlate multiple pieces of information.
Test coverage data provides:
SCM change history data provides:
Coverity SAVE® analysis data provides:
Untested code violations are surfaced by Test Advisor for quick and easy remediation.
Provide information and guidance to help developers efficiently manage untested code violations to closure.
Coverity Connect is the collaborative issue management console to efficiently manage all issues surfaced by Quality Advisor, Security Advisor and Test Advisor to resolution within a unified workflow.
Coverity also provides seamless bi-directional integration with existing lifecycle tools to make development testing a natural part of the SDLC process.
Check out our complete list of SDLC integrations here.
Test Advisor drives developer accountability by establishing a standard testing process within your development organization and ensures test completeness.
Verify that developers have created and executed the necessary unit tests in lock step with code development. Create a testing stage gate within Policy Manager to validate code has been completely tested before it’s promoted to QA.
To learn more about the Coverity Development Testing Platform, please contact us directly.
U.S. Toll Free: (800) 873-8193
International Sales: +1 (415) 321-5237
Network, collaborate, and share with a community of experts.
The trial process provides a similar experience to a real-world deployment, without disrupting your current processes or production environment.
Register for a 30-minute demo. Talk to our development testing experts. See how we can help your organization.