Continuos Integration is the practice of integrating changes from many people as often as possible. Instead of merging changes once a month and spending time handling merge errors you try integrate every day, perhaps even every hour. Each integration is built and tested on a server. If there are build errors or test failures, you [...]
Continuos Integration for XCode projects
January 31st, 2010 by Christian Hedin — Agile, Testing
Tags: automated testing, hudson, objective-c, tools, tutorial, xcode
The easy way to test Android applications
January 28th, 2010 by Renas Reda — Android, Testing
I’m going to guess that most of you know what instrumentation is. In the event that you don’t, instrumentation is a feature in which specific monitoring of the interactions between an application and the system is made possible. Instrumentation also makes it possible to write test cases that interact with the application. The problem with [...]
Tags: automated testing, frameworks, junit, open source, tools
PowerMock Part 2
May 1st, 2009 by Johan Haleby — Java, Testing
In JayView 17 we presented a short introduction to PowerMock, a framework that allows you to create automated tests for almost any code in isolation from its environment. In this article we’ll dig a bit deeper into PowerMock and explore the goals and more of its feature set. Background PowerMock is intended for developers who [...]
Tags: automated testing, frameworks, open source, powermock
Running Selenium RC with Firefox 3
November 12th, 2008 by Joakim Back — Testing
After running into proxy errors attempting to run Selenium tests with Opera 9.62 and being unable to install Firefox 2 on Ubuntu 8.10 (unsatisfied package dependencies..) I finally ran into this gem: Hi, On windows I succeeded to run Selenium RC and Firefox 3 using the following steps 1. run firefox in profilemanager mode (“path\to\firefox.exe” [...]
Tags: automated testing, firefox 3, selenium, ubuntu, web
Testing Among the Clouds, Part 2
October 20th, 2008 by Mattias Hellborg Arthursson — Cloud, Java, Testing
In a recent post I wrote about the particular problems we’ve been having with integration testing the Spring LDAP project and the use we’ve made of Amazon EC2 for solving these problems. In this post I’ll present the implementation details. Prerequisites In order to keep this reasonably brief I’ll have to refer to the getting [...]
Tags: automated testing, ec2, junit, spring, spring ldap, tdd, typica
Testing Among the Clouds
September 11th, 2008 by Mattias Hellborg Arthursson — Cloud, Java, Testing
One of the major challenges we’ve been facing in the Spring LDAP project is to make certain that the library works together with different LDAP servers. Different servers behave differently in certain situations; some functionality might only be supported on select servers, etc. In the ideal situation we would run our automated test suite against [...]
Tags: automated testing, continuous integration, ec2, junit, spring, spring ldap, tdd, typica
Mocking Static Methods
May 1st, 2007 by Jan Kronquist — Java
Mock objects is a very useful technique for unit testing as it allows you to focus your testing efforts on the class being tested instead of on its collaborators. Unfortunately, not everything is an object and therefore you cannot always use mock objects. This article will show how mocking can be generalized to include more [...]
Tags: automated testing, jayview, programming
JXPath simplifies Java queries
August 4th, 2006 by Ulrik Sandberg — Java, Testing
Consider a company that contains many departments. Those departments contain employees, those employees have names, telephone numbers, and so on. To query a collection of companies and find, for example, all departments of companies in California with more than 10 employees, you could write something like this: for (Iterator companies = database.getCompanies().iterator(); companies.hasNext();) { [...]
Tags: automated testing, collection, frameworks, open source, query, tools, xml
DDSteps – data driven sanity
August 1st, 2005 by Björn Granvik — Java
”Aaarrrgh”, is not only the sound of pirates. It is also the desperate cry from programmers who realize what a mess they’ve got themselves into. This is especially true in testing. The number of combination that you should run your code through easily outpaces you. But fear no more, here’s one pill with a great [...]
Tags: automated testing, Java, open source
