Posts tagged with "testing"

Apr 11th, 2013

JUnit – the Difference between Practice and @Theory

Lately a colleague showed me how to improve JUnit tests written for a distance calculator. Speaking with other developers I found out that the majority wasn’t aware of the undocumented @Theories Runner which can be found in an experimental package in JUnit, so I decided to share this valuable “experiment”. In contrast to the parameterized [...]

1 Comment
Apr 2nd, 2013

Writing JavaScript Tests with Jasmine for RAP

jasminegraph

If you are writing unit tests for your Java code, then you should also write them for any other code you wrote for the same project. Otherwise these tests only give you a false sense of security. RAP 2.0 provides a new JavaScript API to extend the framework with custom components, as you can read [...]

Leave a Comment
Mar 20th, 2013

UI Testing with Q7

When it comes to UI testing of Eclipse plug-ins and RCP applications, one usually looks first in the open source project SWTBot or Jubula. However, there are alternatives and different project set-ups and products have very different requirements, when it comes to UI testing. I recently evaluated a few alternatives including SWTBot, Jubula, WindowTester and [...]

Leave a Comment
Mar 8th, 2013

Entering a world with a common language

3811537169_00110ea8d4_n

Whenever a group of people gathers to discuss the pre-release phase of a piece of software, the word test appears on the agenda. While the general idea of testing seems more or less clear to everybody, only rarely do two people have the same implicit understanding of the details. To name a few, try to [...]

Leave a Comment
Feb 22nd, 2013

Unit Testing RAP Applications

The latest release of RAP 2.0 is still hot. It also contains some improvements for unit testing as Ralf Sternberg mentioned in one of his blog posts that came along with RAP 2.0. The following post will get you up and running with the first JUnit test in your own RAP project. A user interface written [...]

Leave a Comment
Nov 15th, 2012

RWTBot

Controls Demo Showcase With RWTBot

Recently I started working at a headless client for RAP 2.0 with the following aims: Allow functional testing of RAP/RWT applications. Allow stress testing of RAP/RWT applications, working together with a performance test library. A secondary requirement is to: Be similar enough to the SWTBot API so that the effort for testing single-sourced applications is [...]

3 Comments
Sep 25th, 2012

Advanced Android testing with RoboGuice and Robolectric

metric-screenshot

I’ve been using the Android framework RoboGuice 2.0 a lot lately. RoboGuice is an extension for the Google Guice dependency injection framework that adds several Android specific mechanisms to easily inject views, services or custom objects. Coming from an OSGi background, it is interesting to see how much deeper Guice is able to be interwoven into [...]

4 Comments
Sep 11th, 2012

Running HTTP/REST Integration tests in an Eclipse Tycho Build

reports

A few days ago my fellow Frank wrote about running HTTP/REST Integration Tests efficiently in Eclipse. Today I want to show you how to embed those tests in a headless build using Eclipse Tycho. Embedding restfuse in a build is as simple as embedding plain JUnit tests. But when trying to start an OSGi server [...]

Leave a Comment
Sep 10th, 2012

restfuse 1.1.1 released

restfuse

It has been almost a year since the last restfuse news. In the meantime restfuse was adopted by a lot of individuals and companies. Since the last release the development continued on github and made it now worthwhile to publish an update. Last week we released restfuse 1.1.1. Some noteworthy things are: Updated the underlying Jersey [...]

4 Comments