Sandra Parsick - Just Another Blog about IT
open-menucloseme
Home
About
Site Notice
Privacy Policy
github twitter mastodon linkedin rss
  • Using Testcontainers in Spring Boot Tests combined with JUnit5 for Selenium Tests

    calendar Nov 21, 2022 · 7 min read · docker junit5 selenium spring testcontainers  ·
    Share on: twitter facebook linkedin copy

    In this blog post, I'd like to show how to integrate Testcontainers in Spring Boot tests for running UI tests with Selenium. Why Testcontainers? Testcontainers is a library that helps to integrate infrastructure components like Selenium or databases in integration tests based on Docker Container. It helps to avoid …


    Read More
  • How to Measure Test Coverage in Invoker Tests with JaCoCo

    calendar May 31, 2021 · 2 min read · maven test-report integration-testing maven-plugin maven-plugin-testing maven-invoker-plugin jacoco test-coverage  ·
    Share on: twitter facebook linkedin copy

    During the development of the P2 Maven Plugin, I wanted to get an overview about the test coverage of the code. The tests of this plugin can be divided in two groups: Unit tests, that is written with Java, Groovy and JUnit; integration tests, that is written with Maven Invoker Plugin JaCoCo is the defacto standard for …


    Read More
  • Test Coverage Reports For Maven Projects In SonarQube 8.3.x

    calendar Jun 10, 2020 · 6 min read · integration-testing jacoco maven sonarqube test-coverage test-report unit-testing  ·
    Share on: twitter facebook linkedin copy

    Some years ago I write a blog post about how to generate test reports in SonarQube separate in test report for unit tests and for integration tests. Since SonarQube 6.2 the test report isn't separate in these categories any more (see SonarQube's blog post). SonarQube merges all test reports to one test report with an …


    Read More
  • Using Testcontainers in Spring Boot Tests For Database Integration Tests

    calendar May 21, 2020 · 15 min read · docker hibernate jdbc jpa junit5 spring spring-data testcontainers  ·
    Share on: twitter facebook linkedin copy

    In this blog post I'd like to demonstrate how I integrate Testcontainers in Spring Boot tests for running integration tests with a database. I'm not using Testcontainers' Spring Boot modules. How it works with them, I will show in a separate blog post. All samples can be found on GitHub. Why Testcontainers? …


    Read More
  • Test Environment for Ansible on a Windows System Without Linux Subsystem Support

    calendar Jan 24, 2020 · 5 min read · ansible test-infrastructure vagrant virtualbox windows  ·
    Share on: twitter facebook linkedin copy

    Some weeks ago, I gave a workshop about Ansible and I was asked how to set up a local test environment for Ansible. Requirement is that this test environment can run on a Windows 10 without a Linux subsystem. I don't why, but it was not my first customer where Windows 10 could not be used with Linux subsystem (Don't …


    Read More
  • Maven Project Setup for Mixing Spock 1.x and JUnit 5 Tests

    calendar Mar 21, 2019 · 3 min read · groovy junit5 maven spock1.x  ·
    Share on: twitter facebook linkedin copy

    I create a sample Groovy project for Maven, that mixes Spock tests and JUnit 5 tests in one project. In the next section I'll describe how to set up such kind of Maven project. Enable Groovy in the Project First at all, you have to enable Groovy in your project. One possibility is to add the GMavenPlus Plugin to your …


    Read More
  • How to Format a Large Code Base Automatically

    calendar Oct 19, 2018 · 5 min read · automation code formatting git groovy intellij qa  ·
    Share on: twitter facebook linkedin copy

    If you introduce code formatting rules retroactively, you have to solve the problem how to format existing code base according to the new formatting rules. You could checkout every code repository one by one in your IDE and click on Autoformat the whole project. But this is boring and waste of time. Fortunately, …


    Read More
  • Mocking SecurityContext in Jersey Tests

    calendar Mar 29, 2018 · 3 min read · integration-testing jersey mock  ·
    Share on: twitter facebook linkedin copy

    Jersey has a great possibility to write integration test for REST-APIs, written with Jersey. Just extend the class JerseyTest and go for it. I ran in an issue, where I had to mock a SecurityContext, so that the SecurityContext includes a special UserPrincipal. The challenge is that Jersey wraps the SecurityContext in …


    Read More
  • QA Milestones since the Foundation of an eHealth Framework

    calendar Mar 26, 2014 · 11 min read · agile qa qs scrum testing tester tests webservices  ·
    Share on: twitter facebook linkedin copy

    Guest Contribution by Markus Jenderek "Quality exists when the price is long forgotten", said Mr Royce to Mr Rolls with his petrol smeared face or Mr Rolls to Mr Royce - but anyway. The question is about which price is he talking about? Money, yes of course! But what about Pain, Features, Competition, Time, …


    Read More

Sandra Parsick

Software Developer, Consultant, Java Champion.
Read More

Featured Posts

  • Passing Variables Through GitLab Pipelines
  • Pimp My Git - Manage Different Git Authentications
  • My Preparation for CKAD Exam
  • Test Coverage Reports For Maven Projects In SonarQube 8.3.x
  • Using Testcontainers in Spring Boot Tests For Database Integration Tests
  • Test Environment for Ansible on a Windows System Without Linux Subsystem Support
  • Pimp My Git - Manage Different Git Identities
  • Generate P2 Repository From Maven Artifacts In 2017

Recent Posts

  • Using Cygwin in 2023
  • Successful Validation of self-signed Server certificates in Java Application
  • Using Testcontainers in Spring Boot Tests combined with JUnit5 for Selenium Tests
  • How to Debug Jenkins remotely
  • How to Measure Test Coverage in Invoker Tests with JaCoCo
  • Test Coverage Reports For Maven Projects In SonarQube 8.3.x
  • Using Testcontainers in Spring Boot Tests For Database Integration Tests
  • Test Environment for Ansible on a Windows System Without Linux Subsystem Support
  • Pimp My Git - Manage Different Git Identities
  • Generate P2 Repository From Maven Artifacts In 2017

Categories

CONTINUOUS INTEGRATION 30 JAVA 19 JVM 14 MAVEN 10 QUALITY ASSURANCE 9 WINDOWS 9 JENKINS 8 LINUX 8 TESTING 8 GIT 6 OSGI 6 CONFIGURATION MANAGEMENT 5 NEXUS 5 JUNIT 4
All Categories
ANSIBLE2 CONFERENCE3 CONFIGURATION MANAGEMENT5 CONTINUOUS INTEGRATION30 GIT6 GITLAB1 GROOVY3 JAVA19 JENKINS8 JUNIT4 JVM14 KUBERNETES1 LINUX8 MAVEN10 MAVEN TYCHO4 NEXUS5 NODE.JS1 OSGI6 POWERSHELL2 QUALITY ASSURANCE9 READING TIPS3 SALT2 SONARQUBE2 SPRING BOOT2 SPRING FRAMEWORK4 TESTCONTAINERS2 TESTING8 VAGRANT3 WINDOWS9
[A~Z][0~9]

Tags

MAVEN 10 LINUX 9 JENKINS 8 GROOVY 7 SPRING 6 HOW-TO 5 INTEGRATION-TESTING 5 ECLIPSE RCP 4 JUNIT5 4 MAVEN TYCHO 4 NEXUS 4 OSGI 4 TEST-REPORT 4 AUTOMATION 3
All Tags
AGENTLESS1 AGILE1 ANSIBLE1 APACHE22 ARC421 AUTHENTICATION1 AUTOMATION3 BARCAMP1 BASH2 BEGINNER1 BOWER REPOSITORY1 BUILD2 CENTOS52 CERTIFICATE1 CERTIFICATION1 CHEAT-SHEET1 CLASSPATH1 CMD2 COBOL1 CODE FORMATTING1 CODING DOJO1 COMMONS-VFS1 CONFERENCE2 CONFIGURATION2 CONSOLE21 CYGWIN2 DAEMON1 DEBIAN1 DEBUGGING1 DEPLOYMENT1 DESIGN PATTERN1 DOCKER2 ECLIPSE RCP4 EQUINOX1 FORWARDING1 GIT3 GITIGNORE1 GITLAB1 GRADLE1 GROOVY7 HC151 HERBSTCAMPUS1 HERBSTCAMPUS20151 HESSIAN1 HIBERNATE1 HOW-TO5 HSQLDB1 IBM1 IDENTITIES1 INDEX1 INSTALLATION1 INTEGRATION-TESTING5 INTELLIJ2 INTELLJI1 JACOCO3 JAR1 JAVA2 JAVA81 JDBC1 JENKINS8 JERSEY1 JNDI1 JPA1 JSCH1 JUNIT54 JVM2 KATA1 KEYTOOL1 KUBERNETES1 LINUX9 LIVING-DOC1 MANIFESTO1 MAVEN10 MAVEN REPOSITORY2 MAVEN TYCHO4 MAVEN-INVOKER-PLUGIN1 MAVEN-PLUGIN1 MAVEN-PLUGIN-TESTING1 MELD1 MERGING1 MIGRATION1 MOCK1 MOUNT1 NETBEANS1 NEXUS4 NOTES1 NPM1 NPM REGISTRY1 NTFS1 OH-MY-ZSH1 OPENSPACE1 OPS4J1 OSGI4 P22 P2-REPOSITORY3 PAX2 PAX-RUNNER1 PERSONA1 PIPELINE1 PROXY3 PYTHON2 QA2 QS1 RELEASE1 REPOSITORY-MANAGER1 RESOURCE2 REWARDING1 RUBY1 SALT2 SALTSTACK2 SCRIPTING1 SCRUM1 SELENIUM2 SERVERSPEC1 SFTP1 SHELL3 SOCRATES1 SOFTWARE ARCHITECTURE2 SOFTWARE DOCUMENTATION2 SOLID DESIGN1 SONARQUBE2 SPOCK1.X1 SPRING6 SPRING-DATA1 SSH3 SSHJ1 SSL1 SUBVERSION3 SVENTON1 SWECAMP1 TEAM BUILDING1 TECHNICAL DEBT1 TERRAFORM1 TEST-COVERAGE3 TEST-INFRASTRUCTURE1 TEST-REPORT4 TESTCONTAINERS2 TESTING TESTER TESTS1 TOMCAT2 TOOL TIP2 TRUSTSTORE1 UBUNTU2 UNIT-TESTING3 VAGRANT3 VIRTUAL-HOST1 VIRTUALBOX2 WEBSERVICES1 WINDOWS2 ZEROMQ1 ZSH1
[A~Z][0~9]
Copyright © 2011–2025, Sandra Parsick; all rights reserved.

Copyright  COPYRIGHT © 2011–2025, SANDRA PARSICK; ALL RIGHTS RESERVED.. All Rights Reserved

to-top