A quick and practical example of Serenity with Spring and JBehave.
Search Results for: junit
Comparing getPath(), getAbsolutePath(), and getCanonicalPath() in Java
A quick review of the differences between three methods for obtaining the filesystem path of a File object in Java.
Introduction to HikariCP
We learn about the HikariCP JDBC connection pool project.
Guide to the Synchronized Keyword in Java
This article discusses thread synchronization of methods, static methods, and instances in Java.
Java Web Weekly, Issue 176
An eventful week in the Java ecosystem, with the negative vote for Jigsaw and lots of solid writeups about Java 9 and the upcoming Spring 5.
Java Web Weekly, Issue 175
An extensive week chock-full of interesting writeups and Java 9 news.
Spring Boot and Togglz Aspect
A quick and practical example of using Togglz with Spring Boot.
Introduction to Serenity BDD
A quick and practical introduction to SerenityBDD and its integrations.
Testing in Spring Boot
Learn about how the Spring Boot supports testing, to write unit tests efficiently.
Create a Custom Auto-Configuration with Spring Boot
A quick, practical guide to creating a custom auto-configuration in Spring Boot.
Using @JsonComponent in Spring Boot
Learn how to use the @JsonComponent annotation in Spring Boot.
Java Web Weekly, Issue 172
A rather quick review this week, but definitely full of interesting reads, starting with the impact of Java 9 on some tools to the performance of logging frameworks.
Testing a REST API with JBehave
A quick and practical guide to REST testing with JBehave
Configuring Separate Spring DataSource for Tests
A quick, practical tutorial on how to configure a separate data source for testing in a Spring application.
Cucumber and Scenario Outline
Learn how to write Behavioral Driven Development (BDD) unit tests using Cucumber and its concept named Scenario Outline.
Spring MVC Custom Validation
Learn how to build a custom validation annotation and use it in Spring MVC.
Introduction to Vert.x
Learn how the use Vert.x – the open source, reactive and polyglot software development toolkit.
Ratpack Google Guice Integration
Learn how to use a Java open source software framework, Google Guice, by integrating it with Ratpack.
Introduction to TestNG
The article introduces the basic concepts of TestNG testing library.
Self-Contained Testing Using an In-Memory Database
A quick, practical tutorial on setting up an in-memory database for running self-contained persistence-layer tests in a Spring application.