I got some positive response about DET that I wrote on my blog and in my CAST session proposal, so I thought I would elaborate a little on where I think this could be going. I will probably cover more hands on aspects in the coming weeks, but I really want to explain a vision I have around [...]
Entries Tagged 'Testing' ↓
Elaborating on DET – ETDD evolving?
January 9th, 2012 by Sigurdur Birgisson — Agile, Testing
Tags: customer collaboration, DET, developers exploratory testing, ETDD, exploratory testing
Developers exploratory testing – Expanding its value
December 17th, 2011 by Sigurdur Birgisson — Testing
There is a common practice in our company to perform Developers Exploratory Testing sessions, explained by my colleague Davor here. The cool thing is that this way of performing higher level testing has actually become accepted by our developers, and they really enjoy it. In my current work of developing our organization wide practices for quality, I have [...]
Tags: DET, developers exploratory testing, exploratory testing, iOS, ipad, iphone, team
Spring Integration Tests, Part II, Using Mock Objects
December 12th, 2011 by Mattias Severson — Java, Testing
In the previous post, I wrote how you can use Spring’s FactoryBean to facilitate the creation of mock objects for Spring integration tests. Now, it is time to use the EasyMockFactoryBean (in this post EasyMock has been used for creating mock objects, but a similar approach applies to Mockito as well. Start by looking at [...]
Tags: easymock, mock, mockito, spring
Testing Web.config Transformations, Part 1
December 8th, 2011 by Mads Troest — .Net, Testing, Tips & Tricks
Web.config transformations is a Microsoft-supported technology for adapting a base configuration to a particular deployment environment. In my previous post, I mentioned how AppHarbor provides an online tool for manually testing transformations. Also, the Visual Studio extension SlowCheetah provides support for manually testing and transformation and diffing them against the base configuration from inside Visual Studio. These [...]
Tags: automated testing, configuration, Deployment, transformation, web, Web.config, xml
Organization wide test strategy – Step1 – Deriving our quality values
December 1st, 2011 by Sigurdur Birgisson — Testing
Our company has moved more from delivering individual consultant services to taking whole in-house product commitments delivered as a service to our customers. During the last months we have also been in a process of re-evaluating the core company values. Through this values work it has been clear that we want to feel proud about the quality delivered to [...]
Tags: agile, customer collaboration, quality
Spring Integration Tests, Part I, Creating Mock Objects
November 30th, 2011 by Mattias Severson — Java, Testing
When writing integration tests with Spring, it can sometimes be convenient to mock one or more of Spring bean dependencies. However, during some circumstances strange things may happen… (In this post, Mockito has been used for creating mock objects, but the same problem applies to EasyMock as well. You can find the corresponding files if [...]
Tags: easymock, factory-method, factorybean, mock, mockito, spring
Robotium 3.0 – Stepping It Up!
November 16th, 2011 by Renas Reda — Android, Testing
For those of you that do not know, Robotium is a test framework used for function and system tests of Android applications. With the release of Robotium 3.0, Robotium is now faster, lighter and more stable then ever! A tremendous amount of work has gone into modifying and improving more or less all the different [...]
Tags: Android, automated testing
Facebook Test Java API release 1.1.5
October 20th, 2011 by Tobias Södergren — Java, Testing
The Facebook Test Java API framework has been updated. There are two additions to the API and one bugfix: Bugfix for NPE when calling facebookStore.createTestUser(false,”…”). Added possibility of using a provided HttpClient instance in HttpClientFacebookTestUserStore. Added unit test that displays the use of json-path when asserting data. Here’s a quick reminder of how to create [...]
Tags: Facebook, framework, Java, open source, test
Using RenamingDelegatingContext to mock ContentResolver in Android
October 10th, 2011 by Tomas Nilsson — Android, Testing
Mocking Context Testing in Android can be complex, especially when your component is not isolated from the Android framework. One example of this is when your component is performing file system tasks using Context. E.g, the Activity class has the following methods (inherited from Context): openOrCreateDatabase(); deleteDatabase(); getDatabasePath(); openFileInput(); openFileOutput(); getFileStreamPath(); deleteFile(); getCacheDir(); When calling [...]
Simple Parsing of Complex JSON and XML Documents in Java
October 9th, 2011 by Johan Haleby — Java, Testing, Tips & Tricks
In this blog I’m going to demonstrate how to parse and validate more complex JSON and XML documents in Java using the REST Assured framework and the XmlPath and JsonPath components available in this framework. Since REST Assured is implemented in Groovy it can be really beneficial to take advantage of Groovy’s collection API. Let’s [...]
Infinitest
September 21st, 2011 by Anders Eriksson — Java, Testing, Tips & Tricks
The Infinitest Eclipse plug-in looks for unit tests and have them run as soon as changes are detected. Just as modern IDEs have provided automatic compilation for ages this can now also be provided for unit testing. The test outcome shows up as a green or red bar in the bottom of the Eclipse application [...]
Tags: automated testing, Java, junit
Multipart Form Data File Uploading Made Simple with REST Assured
September 15th, 2011 by Johan Haleby — Java, Testing, Tips & Tricks
From a client perspective it has always seemed to me that uploading a large file or stream to a server using multi-part form data encoding in Java is overly complex. To address this I implemented support for it in REST Assured 1.3. Example Let’s say you have a simple HTML page that performs file-uploading from [...]
Tags: automated testing, http, rest
CAST 2011 – Testing competition with Happy Purples
August 22nd, 2011 by Sigurdur Birgisson — Testing
First of all, Ill have to report a bug in James’ blog post. We only got $23 for the worst bug report award.=) Then I would like to thank for the fun competition James set up, it was really a learning experience and in retrospect I would maybe have put even more effort in the [...]
Tags: CAST, conference, exploratory testing
Collective note taking – More value from your test notes?
June 16th, 2011 by Sigurdur Birgisson — Testing, Tips & Tricks
For quite some time now I have struggled with making note taking a natural part of my personal progress while testing. And well, I can say that it has really made impact on many other aspects of my work in other situations as well. I am actually quite proud to say that it has made [...]
Tags: note taking, team, testing
Is your REST assured?
June 4th, 2011 by Johan Haleby — Java, Testing, Tips & Tricks
A couple of months ago I introduced a new open source Java framework for simple automated testing of REST/HTTP services called REST Assured. A lot of things have happended to the framework since then and it’s now better than ever. In this blog I’m going to summarize some of the most important new features that [...]
Tags: automated testing, Java, rest, test
