Software Engineer
If you come from Java land and are lucky enough then you probably write your tests in Spock using Groovy. Then you already know that Groovy allow overriding operators (you can find more about them in docs) and one of them is == which in contrast to Java does not compare objects reference but their equality through equals method.
Before adopting a new framework I always verify does it provide decent testing support. If you follow SOLID principles then to test your business logic you just need a test framework like JUnit or Spock. Things get complicated when we want to test our code on integration level where business logic and infrastructure code are glue together and check if they behave correctly. This post focuses on writing
integration tests (IT) for Micronaut application.
Recently I learned that MySQL 5.6 is so “nice” that it can provide default values for columns that have NOT NULL constrain when values for these columns are missing during insertion.
If you come from the JavaEE world you probably did set some of your project dependencies to the scope of provided if so then you can find one fact about spring-boot-maven-plugin to be interesting.
Last month first production-ready version of GraalVM with number 19.0 was released. GraalVM is a virtual machine capable to run application written in JavaScript, Python, Ruby, R, LLVM-based languages like C, C++ and of course our beloved JVM-based languages like Java, Scala, Kotlin, Groovy and Clojure.