Tag Archives: Spring

Cucumber tests with annotated configuration in Spring

Cucumber tests with annotated configuration in Spring Fresh out of the workshop Acceptance Test Driven Design (Development) also known as Behavior Driven Design. Time to put this to the ‘test’ using Specification by Example. Since I am a hardcore (Java) developer I will use Cucumber for my implementation within a Spring 4 project.

Read More...
Posted in Cucumber, Java, Spring, Testing | Also tagged , , Leave a comment

Testing a Camel Route with Testng

Synopsis One of the most frustrating things as a developer is; A problem and hardly any online resources and/or examples online that give you any hints towards a solution. I found out that Testing a Camel Route with Testng is not the most common method of testing it. You can find some examples, but most […]

Read More...
Posted in Camel, Java, Maven, Spring | Also tagged , , , Leave a comment

How To: Load a spring application from a jar file

Consider the following situation: Loading 3 application context files in a Swing application. 2 of the context files are in jar-files. All context files depend on the component-scan option. The Application context gets loaded from my Swing app. The method I use, is the import resource option in the context file. Read on how to […]

Read More...
Posted in Java, Spring | Also tagged , , , Leave a comment