I’ve just spent some time updating my example showing how to set up PDE Build and the Eclipse Testing Framework. I’ve generally cleaned things up and I’m now creating the test environment in the correct way. As a special bonus, I’ve also thrown in coverage analysis using EMMA. And before people ask, yes I have… Continue reading Updated PDE Build and Test Example
Category: Testing
Running Unit Tests for RCP and OSGi Applications
Eclipse provides great tools for testing RCP and OSGi applications using JUnit, but there a few areas that are problematic. It’s not easy to run all the tests in a set of plug-ins. The test launcher allows you to run all the tests in a single project, but RCP and OSGi developers are usually working… Continue reading Running Unit Tests for RCP and OSGi Applications
Running Automated Tests with PDE Build
In a previous post, I provided a set of projects that you could use to get a sample build running quickly. The idea was that getting your first build running is half the battle. From that point on, you can make small, incremental changes to accomplish what you like. A common request I’ve received, though,… Continue reading Running Automated Tests with PDE Build
Testing Plug-ins with Fragments
As Eclipse plug-in and Rich Client Platform developers, we face unique challenges in how we structure and execute our unit tests. In this article, I suggest an approach to unit testing based on Eclipse fragments that can help us overcome these challenges. If you find yourself frustrated with your current plug-in testing options, read on!