List/Grid Tag Archives: Testing

spring-logo

Getting Started With Spring’s MVC Test Framework – Part 1

Newly promoted to the main Spring framework is the Spring MVC Test Framework, which the Guys at Spring claim is a “first class JUnit support for testing client and server side Spring ...
mockito-logo

Mockito – RETURNS_DEEP_STUBS for JAXB

Sorry for not having written for some time but I was busy with writing the JBoss Drools Refcard for DZone and I am in the middle of writing a book about Mockito so I don’t have ...
enterprise-java-logo

An Automated OSGi Test Runner

Among my fellow team members I was known for notoriously forgetting to maintain the (JUnit) test suite. I just can’t get this extra step of manually adding a test to a suite into ...
java-logo

Testing Java 8 in 3 Easy Steps

tl;dr Use your CI Setup to test Java 8. The upcoming Java 8 release promises a bunch of new feature for Java developers, but there’s always a risk when upgrading that your code ...
selenium-logo

Selenium Test Automation with Maven

Today i want to help you manage your Automated GUI Tests (Selenium) better. In the past i have seen many different ways people handle this. Some people just write those plain HTML TestCases ...
junit-logo

Unit Testing Tip: Create Descriptive Tests

Your unit tests should be as descriptive as possible. The feedback they give you should be so clear you don’t even need to fire up the debugger and step one by one through the code ...
software-development-2-logo

How design for testability can improve test automation capability

Introduction Testability refers to the capability of testing something. When this something is an IT solution, the most suited way of doing it is Automation. But is it always possible ...
software-development-2-logo

Automated Tests as Documentation

One of the arguments for writing automated tests is that tests can act as useful documentation for a system. But what do tests document? And who will find this documentation useful? Most ...
enterprise-java-logo

Mockito – Extra Interfaces with annotations and static methods

In the code I have quite recently came across a really bad piece of code that based on class casting in terms of performing some actions on objects. Of course the code needed to be ...
selenium-logo

Java testing with Selenium and dynamic ids in html

One of the cool aspects of Selenium, is that not only can you record yourself using a site, you can actually run this as a junit test. Firstly, I’ll install Selenium in Firefox ...
Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.

Sign up for our Newsletter

15,153 insiders are already enjoying weekly updates and complimentary whitepapers! Join them now to gain exclusive access to the latest news in the Java world, as well as insights about Android, Scala, Groovy and other related technologies.

As an extra bonus, by joining you will get our brand new e-books, published by Java Code Geeks and their JCG partners for your reading pleasure! Enter your info and stay on top of things,

  • Fresh trends
  • Cases and examples
  • Research and insights
  • Two complimentary e-books