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 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
Read more about the article Spock 2.x: Configuring maven project in both pure Java and SpringBoot projects

Spock 2.x: Configuring maven project in both pure Java and SpringBoot projects

From the following guide you will learn how to configure maven project to work with Spock Testing Framework in both cases: standard Java maven project and SpringBoot maven project.

Continue ReadingSpock 2.x: Configuring maven project in both pure Java and SpringBoot projects

About Me

Łukasz Cieśla

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

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

  • FiveM + C#: Storing player data in MySQL/MariaDB database. Complete guide from scratch.
  • Ionic & Angular: Custom page transitions (animations between pages)
  • Java thread-safe singleton pattern (with and without lazy loading)
  • Java & SpringBoot: Overriding system time for Unit, Integration and End2End testing – Complete guide
  • Spring: Injecting smaller scope bean into larger scope bean

Archives

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

Categories

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