Best Practices for Achieving Code Coverage Goals With JUnit | Parasoft

preview_player
Показать описание
In this video we discuss the challenges of unit testing. We show you how to effectively scale your JUnit testing practice across the organization, reducing the amount of time and expertise required to create and maintain stable test suites.

Learn the steps to increase code coverage, including how to:

• Implement best practices for creating meaningful and maintainable test cases.
• Leverage parameterization and mocking frameworks to maximize test coverage.
• Use smart test execution to get quick feedback on changes made to the code base.
• Extend code coverage metrics to incorporate automated functional and UI test jobs.

VIDEO CHAPTERS
0:00 - 2:30 Intro & Housekeeping
2:31 - 4:58 Building a Scalable Test Automation Strategy
4:59 - 7:08 Why Do Unit Testing?
7:09 - 23:40 Best Practices For Creating Unit Test Cases
23:41 - 39:51 Techniques to Maximize Test Coverage
39:52 - 49:04 Quick Feedback on Changes Made to the Code Base
49:05 - 55:42 Increasing Code Coverages on Existing/Legacy Code
55:43 - 1:05:50 Recap and Q&A

BACKGROUND
Unit testing is a proven technique for ensuring delivery of high-quality Java applications. It has plenty of benefits if done well. A solid unit testing practice built with JUnit is fundamental for achieving code coverage, but it can be a struggle for many organizations to implement. It takes a focused effort to create, scale, and maintain an effective unit testing practice that minimizes coverage gaps and risky releases.

__________________________________________________

ADDITIONAL RESOURCES

WHITEPAPER | JUnit Basics - Getting Started with JUnit and Using Automation to Create Unit Tests

WEBINAR | Bring Back the Unit Testing Love: JUnit Made Easy

Whitepaper | Develop a Strategy and Business Case for Test Automation

Monthly Demo With Live Q & A
Parasoft Continuous Quality Suite for API & UI Testing

__________________________________________________

DO YOU HAVE MORE QUESTIONS?

Want to stay connected? Find us on these platforms!

___________________________________________________________

ABOUT PARASOFT
Parasoft helps organizations continuously deliver quality software with its market-proven, integrated suite of automated software testing tools. Supporting the embedded, enterprise, and IoT markets, Parasoft’s technologies reduce the time, effort, and cost of delivering secure, reliable, and compliant software by integrating everything from deep code analysis and unit testing to web UI and API testing, plus service virtualization and complete code coverage, into the delivery pipeline. Bringing all this together, Parasoft’s award winning reporting and analytics dashboard delivers a centralized view of quality enabling organizations to deliver with confidence and succeed in today’s most strategic ecosystems and development initiatives — security, safety-critical, Agile, DevOps, and continuous testing.
Рекомендации по теме
Комментарии
Автор

What types of coverage does Jtest cover? Does it cover MC/DC also?

angelcdt