Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Efficiently Delivering Open Source Code with OpenSSF Gold-Standard Quality Measurements Using Groovy-Spock

LF Networking via YouTube

Overview

Learn how to achieve OpenSSF Gold Standard certification through a 52-minute workshop that demonstrates using Groovy-Spock framework for efficient unit testing in open source projects. Master the implementation of high-quality unit tests for mission-critical applications, with practical examples from the ONAP CPS project's Kohn release. Explore best practices for writing comprehensive test cases using Groovy-Spock's powerful features, including data-driven testing, mocking, and exception handling. Gain hands-on experience with Groovy blocks, mocks, and advanced testing techniques while understanding common misconceptions about unit testing. Download the provided Java project to follow along with interactive demonstrations that showcase how to make unit testing more cost-effective and maintainable compared to traditional approaches. Perfect for development teams looking to enhance their testing practices and achieve gold-standard quality measurements in open source software delivery.

Syllabus

Introduction
Purposes of Unit Tests
Misunderstandings about Unit Tests
Why Groovy
Groovy Blocks
Groovy Mocks
CPS Project
Expected
Data Driven
Unit Tests
Mocking
Mock Test
Exception Handling
Groovy Magic

Taught by

LF Networking

Reviews

Start your review of Efficiently Delivering Open Source Code with OpenSSF Gold-Standard Quality Measurements Using Groovy-Spock

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.