Skip to content

Instantly share code, notes, and snippets.

💭
😏

Pietro Di Bello xpepper

💭
😏
Block or report user

Report or block xpepper

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View jacoco-pipeline.groovy
// inside a step in the Jenkinsfile...
...
 jacoco(
  classPattern: '**/classes/kotlin/main',
  sourcePattern: '**/src/main/kotlin',
  sourceInclusionPattern: '**/*.kt'
 )
...
View practical example of a jacoco execution.groovy
post {
always {
archiveArtifacts artifacts: '**/build/libs/*.war', onlyIfSuccessful: true
jacoco(
classPattern: '**/classes/kotlin/main',
sourcePattern: '**/src/main/kotlin',
sourceInclusionPattern: '**/*.kt'
)
}
success {
View build folder.md
build/
    classes
          kotlin
    jacoco
          test.exec
    reports
          jacoco
View build folder.md
build/
    classes
          kotlin
    jacoco
          test.exec
    ...          
@xpepper
xpepper / Adding Jacoco code coverage measurement to a Kotlin Gradle project (and then adding coverage reports on a Jenkins pipeline).md
Created Oct 13, 2019
Adding Jacoco code coverage measurement to a Kotlin Gradle project (and then adding coverage reports on a Jenkins pipeline)
View Adding Jacoco code coverage measurement to a Kotlin Gradle project (and then adding coverage reports on a Jenkins pipeline).md

Add code coverage to a gradle project

In order to have code coverage measurement enabled on your gradle project, you have to just add the jacoco plugin to the build.gradle plugin section

plugins {
    ...
    id 'jacoco'
}
@xpepper
xpepper / What's the difference between a Junior Intermediate Senior developer.md
Last active Aug 24, 2019
What's the difference between a Junior, an Intermediate and a Senior developer?
View What's the difference between a Junior Intermediate Senior developer.md

(https://www.quora.com/Whats-the-difference-between-a-Junior-Intermediate-Senior-developer)

What's the difference between a Junior / Intermediate / Senior developer?

Junior is capable but needs someone with more experience to teach, mentor, guide, or direct them. They are still learning, on the job, and you should expects the risks associated with such a person.

Intermediate can work on their own but isn't ready to lead, manage, mentor, or teach. These are the core of any team. They are proficient in their respective language and are probably learning others.

Senior devs are those beyond the bounds of a skillset. They may be leaders, teachers, or mentors in your organization. They can direct the priorities, roadmap, and business related to the development of your product. They are likely proficient in more than one technology, not necessarily other programming languages; perhaps they are familiar with database architecture, search algorithms and science, hardware and scalability, et

@xpepper
xpepper / jbrains.md
Created Aug 18, 2019
What your tests don’t need to know will hurt you
View jbrains.md
@xpepper
xpepper / LondonVsChicago.md
Last active Jul 31, 2019
London vs Chicago, Comparative Case Study - Sandro Mancuso and Uncle Bob
View LondonVsChicago.md

My notes on the video series "London vs Chicago TDD styles" by Uncle Bob And Sandro Mancuso

The git repo of the kata is here: https://github.com/sandromancuso/cleancoders_openchat/

The "starting-point" branch is where both implementations began: https://github.com/sandromancuso/cleancoders_openchat/tree/starting-point

  • The 🇬🇧 "openchat-outside-in" branch captures the tomato by tomato history of the London approach.
  • The 🇺🇸 "openchat-unclebob" branch captures the tomato by tomato history of the Chicago approach.

What I like about Sandro's style 👍

You can’t perform that action at this time.