Archive

Archive for the ‘Test’ Category

OpenEJB

openejbAn open source, embedded, lightweight, easy to configure EJB Container and EJB Server. Using OpenEJB turned out to be the salvation when developing EJB applications. Even if your requirement is not to start with the test first approach you still need to run your EJB class and can’t wait until to deploy. And deployment is not so fast as well unless you use special tools like JRebel or so on. You can find more information on web about OpenEJB and if there is something better than that. But when you have decided to use OpenEJB then you could face some problems which I took few hours for me to fix. Anyway let’s slide through the problems. Read more…

TestNG(Next Generation) a unit testing framework

There might be other unit testing frameworks available which maybe better than TestNG but for me coming from a JUnit test framework background it was easy to adapt to TestNG (which has got inspiration from JUnit and NUnit). The requirement I had was to have a test framework where it was:

  • Easy to pass data as parameters to the test from a resource file Read more…

Testing and the Definition of Done

Previously, I have written about my current project, a system used by Stockholm Country Council for computing compensation from the county to the various health care providers within the county for services provided to the people of Stockholm. I have also mentioned previously that I have taken the role of de facto Scrum Master. In addition, I have become the de facto test manager in the team. The system does not really have users per se, but rather, it takes input in the form of XML files, it makes a bunch of calculations on this data and then it spits out some new XML files. Read more…

Combining Scrum and Waterfall

Interesting post on combining Scrum and Waterfall

A very interesting article about combining Scrum with the Waterfall method (an organizational constraint in this case) and what impact this has on testing.

One Month In

One month ago, I wrote this short post about how the Java Team at Kentor was about to officially take over the management and continued development of one of the most important health care billing systems in Stockholm County. Now we have been at it for a month, and things have gone relatively smoothly, with the occasional incident and one considerable change in project organisation.  Read more…

Continous Delivery

I recently read this article about Continuous Delivery and I started to reflect about what continuous delivery and continuous integration are all about, especially in relation to the projects in which I have been involved. A large portion of my early career (off and on from 2003 until 2010) was spent developing a Learning Management System with more than 100,000 users worldwide for a large company in Sweden. In that development process, there were very clear lines between the supplier’s development team (where I worked) and the customer’s operations team, which was responsible for the entire mainframe environment on which the system was deployed. Read more…

Automated web app testing

I am writing about Selenium, a portable automated testing framework which allows you to write tests in a number of languages C#, Perl, PHP, Ruby and most interestingly Java. The API it provides is just a flat bundle of methods which are quite easy to use.

Selenium IDE (provides environment for selenium tests) allows you to record, edit, debug and play tests within Firefox browser. This could also be used in a normal administrative work (not just the tests).  Once you record the test you could export it as Java Test case which could be used in the automated tests.  If you would like to see it in action then follow these steps.

If you want to see how  to start with Selenium Web Driver then you can checkout a project from svn (../TeamJava/svn/muqeet/handsonselenium) . Once you download it you can run ‘mvn test’ (prerequisites are Maven, Firefox). The test tries to connect to kentor.se and changes the language to English with verification.

Having FireBug in Firefox or Developer debugger in IE(F12) helps a lot in writing Web driver tests.

Follow

Get every new post delivered to your Inbox.

Join 228 other followers