Skip to content

Commit dbb4b8e

Browse files
committed
Add initial page for Day 7
1 parent 4bd772e commit dbb4b8e

4 files changed

Lines changed: 48 additions & 0 deletions

File tree

2024/Images/day07-1.png

64.6 KB
Loading

2024/Images/day07-2.png

35.5 KB
Loading

2024/Images/day07-3.png

92.9 KB
Loading

2024/day07.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Day 7: Advanced Code Coverage with Jenkins, GitHub and API Mocking
2+
3+
Presentation by [Oleg Nenashev](https://linktr.ee/onenashev),
4+
Jenkins core maintainer and community builder at WireMock
5+
6+
**TL;DR:** I will talk about how modern Jenkins allows you to analyze
7+
and improve code coverage with help of the new Coverage Plugin for Jenkins,
8+
support for standard formats (Cobertura, JaCoCo, gcov, JUnit, etc.),
9+
test parallelization, and GitHub Checks API.
10+
We will also delve into increasing the integration test coverage with help of WireMock and Testcontainers.
11+
12+
![Jenkins and GitHub Checks](./Images/day07-1.png)
13+
14+
## Resources
15+
16+
- Video: Coming Soon (January 07)
17+
- Slides: Coming Soon (January 07)
18+
19+
## Full Abstract
20+
21+
In 2015-2018, I talked about how to use the Jenkins Pipeline and custom libraries to do advanced integration tests and analyze code coverage.
22+
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.
23+
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!
24+
25+
![Jenkins and GitHub Checks](./Images/day07-2.png)
26+
27+
We will talk about how modern Jenkins allows you to improve and analyze code coverage.
28+
We will talk about unit and integration testing with WireMock,
29+
the new Coverage Plugin,
30+
support for standard formats (Cobertura, JaCoCo, gcov, JUnit, etc.),
31+
parallelization for heavy integration tests and API mocking, and integration with GitHub Checks API.
32+
How can you analyze code coverage in Jenkins and when do you need to create your own libraries?
33+
And what’s the fuzz about Testcontainers and WireMock for integration testing?
34+
35+
![Jenkins and GitHub Checks](./Images/day07-3.png)
36+
37+
## References
38+
39+
- [Jenkins Coverage Plugin](https://plugins.jenkins.io/coverage/)
40+
- [GitHub Checks Plugin](https://plugins.jenkins.io/github-checks/)
41+
- [WireMock](https://wiremock.org/)
42+
- [Testcontainers](https://www.testcontainers.org/)
43+
- Demo - Coming soon
44+
45+
Contribute to open source projects:
46+
[Jenkins](https://www.jenkins.io/participate),
47+
[WireMock](https://wiremock.org/participate),
48+
[Testcontainers](https://java.testcontainers.org/contributing/)

0 commit comments

Comments
 (0)