From f595ecfd5a6d898c635d64527706bc3483e66d74 Mon Sep 17 00:00:00 2001 From: Oleg Nenashev Date: Fri, 26 Jan 2024 10:07:51 +0100 Subject: [PATCH] Adapt Day 21 to 26 --- 2024/Images/{day21-1.png => day26-1.png} | Bin 2024/Images/{day21-2.png => day26-2.png} | Bin 2024/Images/{day21-3.png => day26-3.png} | Bin 2024/day21.md | 49 ----------------------- 2024/day26.md | 49 +++++++++++++++++++++++ 5 files changed, 49 insertions(+), 49 deletions(-) rename 2024/Images/{day21-1.png => day26-1.png} (100%) rename 2024/Images/{day21-2.png => day26-2.png} (100%) rename 2024/Images/{day21-3.png => day26-3.png} (100%) diff --git a/2024/Images/day21-1.png b/2024/Images/day26-1.png similarity index 100% rename from 2024/Images/day21-1.png rename to 2024/Images/day26-1.png diff --git a/2024/Images/day21-2.png b/2024/Images/day26-2.png similarity index 100% rename from 2024/Images/day21-2.png rename to 2024/Images/day26-2.png diff --git a/2024/Images/day21-3.png b/2024/Images/day26-3.png similarity index 100% rename from 2024/Images/day21-3.png rename to 2024/Images/day26-3.png diff --git a/2024/day21.md b/2024/day21.md index 21558d5..e69de29 100644 --- a/2024/day21.md +++ b/2024/day21.md @@ -1,49 +0,0 @@ -# Day 21: Advanced Code Coverage with Jenkins, GitHub and API Mocking - -Presentation by [Oleg Nenashev](https://linktr.ee/onenashev), -Jenkins core maintainer, developer advocate and community builder at Gradle - -**TL;DR:** I will talk about how modern Jenkins allows you to analyze -and improve code coverage with help of the new Coverage Plugin for Jenkins, -support for standard formats (Cobertura, JaCoCo, gcov, JUnit, etc.), -test parallelization, and GitHub Checks API. -We will also delve into increasing the integration test coverage with help of WireMock and Testcontainers. - -![Jenkins and GitHub Checks](./Images/day21-1.png) - -## Resources - -- Video: Coming Soon (January 21) -- [Slides](https://speakerdeck.com/onenashev/advanced-code-coverage-with-jenkins-github-and-api-mocking/) (Premier - January 21) - -## Full Abstract - -In 2015-2018, I talked about how to use the Jenkins Pipeline and custom libraries to do advanced integration tests and analyze code coverage. -Coverage plugins were rather weak, and one needed some scripts and hacks to make it work, and to DIY for distributed testing. In 2021 the situation has changed significantly thanks to the Coverage and Checks API plugins. -Distributed integration testing also became easier thanks to better coverage collectors and integrations with API mocking tools. So, good time to be alive… and use Jenkins! - -![Jenkins and GitHub Checks](./Images/day21-2.png) - -We will talk about how modern Jenkins allows you to improve and analyze code coverage. -We will talk about unit and integration testing with WireMock, -the new Coverage Plugin, -support for standard formats (Cobertura, JaCoCo, gcov, JUnit, etc.), -parallelization for heavy integration tests and API mocking, and integration with GitHub Checks API. -How can you analyze code coverage in Jenkins and when do you need to create your own libraries? -And what’s the fuzz about Testcontainers and WireMock for integration testing? - -![Jenkins and GitHub Checks](./Images/day21-3.png) - -## References - -- [Jenkins Coverage Plugin](https://plugins.jenkins.io/coverage/) -- [GitHub Checks Plugin](https://plugins.jenkins.io/github-checks/) -- [WireMock](https://wiremock.org/) -- [Testcontainers](https://www.testcontainers.org/) -- Demo - Coming soon - -Contribute to open source projects: -[Jenkins](https://www.jenkins.io/participate), -[WireMock](https://wiremock.org/participate), -[Testcontainers](https://java.testcontainers.org/contributing/) -[Gradle](https://gradle.org/resources/) diff --git a/2024/day26.md b/2024/day26.md index e69de29..21558d5 100644 --- a/2024/day26.md +++ b/2024/day26.md @@ -0,0 +1,49 @@ +# Day 21: Advanced Code Coverage with Jenkins, GitHub and API Mocking + +Presentation by [Oleg Nenashev](https://linktr.ee/onenashev), +Jenkins core maintainer, developer advocate and community builder at Gradle + +**TL;DR:** I will talk about how modern Jenkins allows you to analyze +and improve code coverage with help of the new Coverage Plugin for Jenkins, +support for standard formats (Cobertura, JaCoCo, gcov, JUnit, etc.), +test parallelization, and GitHub Checks API. +We will also delve into increasing the integration test coverage with help of WireMock and Testcontainers. + +![Jenkins and GitHub Checks](./Images/day21-1.png) + +## Resources + +- Video: Coming Soon (January 21) +- [Slides](https://speakerdeck.com/onenashev/advanced-code-coverage-with-jenkins-github-and-api-mocking/) (Premier - January 21) + +## Full Abstract + +In 2015-2018, I talked about how to use the Jenkins Pipeline and custom libraries to do advanced integration tests and analyze code coverage. +Coverage plugins were rather weak, and one needed some scripts and hacks to make it work, and to DIY for distributed testing. In 2021 the situation has changed significantly thanks to the Coverage and Checks API plugins. +Distributed integration testing also became easier thanks to better coverage collectors and integrations with API mocking tools. So, good time to be alive… and use Jenkins! + +![Jenkins and GitHub Checks](./Images/day21-2.png) + +We will talk about how modern Jenkins allows you to improve and analyze code coverage. +We will talk about unit and integration testing with WireMock, +the new Coverage Plugin, +support for standard formats (Cobertura, JaCoCo, gcov, JUnit, etc.), +parallelization for heavy integration tests and API mocking, and integration with GitHub Checks API. +How can you analyze code coverage in Jenkins and when do you need to create your own libraries? +And what’s the fuzz about Testcontainers and WireMock for integration testing? + +![Jenkins and GitHub Checks](./Images/day21-3.png) + +## References + +- [Jenkins Coverage Plugin](https://plugins.jenkins.io/coverage/) +- [GitHub Checks Plugin](https://plugins.jenkins.io/github-checks/) +- [WireMock](https://wiremock.org/) +- [Testcontainers](https://www.testcontainers.org/) +- Demo - Coming soon + +Contribute to open source projects: +[Jenkins](https://www.jenkins.io/participate), +[WireMock](https://wiremock.org/participate), +[Testcontainers](https://java.testcontainers.org/contributing/) +[Gradle](https://gradle.org/resources/)