Skip to content
Better-Coding
  • Privacy Policy
  • EnglishEnglish
    • EnglishEnglish
    • PolskiPolski
Search this website
Menu Close
  • Privacy Policy
  • EnglishEnglish
    • EnglishEnglish
    • PolskiPolski
Read more about the article SpringBoot: Resetting H2 database before each integration test

SpringBoot: Resetting H2 database before each integration test

In the following article, apart from providing two solutions to the title problem, we will also talk about a few side topics. I find them worth discussing as they explain the specific behavior of SpringBoot and the H2 database when running JUnit tests.

Continue ReadingSpringBoot: Resetting H2 database before each integration test
Read more about the article Spock: How to get Mock to return value to avoid NullPointerException or InvalidSpecException

Spock: How to get Mock to return value to avoid NullPointerException or InvalidSpecException

The following guide explains how to use mock in Spock Testing Framework in a proper way to get rid of unnecessary problems like NullPointerExceptions and InvalidSpecException when you try stubbing instead of mocking.

Continue ReadingSpock: How to get Mock to return value to avoid NullPointerException or InvalidSpecException

About Me

Łukasz Cieśla

Full-stack developer, Software Designer, Blogger, Traveller, Photographer

  • YouTube
  • GitHub
  • LinkedIn
  • Facebook
  • RSS Feed

My Games

See PagoBalls in Play Store

Tags

angular DaVinciResolve fivem ionic java linux macos spock spring springboot ssh tensorflow testing unity windows

Recent Posts

  • Unity3D: Build Flexible detector script using UnityEvent system
  • SpringBoot: Resetting H2 database before each integration test
  • Unity3D: Scrolling texture on Sprite(Image)
  • Unity 3D: Can’t see Cinemachine in C# script
  • FiveM + C#: Storing player data in MySQL/MariaDB database. Complete guide from scratch.

Archives

  • October 2022
  • May 2022
  • April 2022
  • February 2022
  • January 2022

Categories

  • Angular
  • Ionic
  • Java
  • Software Testing
  • Spring/SpringBoot
  • Uncategorized
  • Unity3D
  • Privacy Policy
Copyright - OceanWP Theme by OceanWP