Java 6 EE Testing
Follow
Find
11.0K views | +16 today
Java 6 EE Testing
Testing for all Java 6 EE Layers
Your new post is loading...
Your new post is loading...
Scooped by Papapetrou Patroklos
Scoop.it!

Selenium Tips: Uploading Files in Remote WebDriver | Selenium Testing? Do Cross Browser Testing with Sauce Labs

Since it's been a while since my last Selenium tips blog post, I thought it was time to share some Selenium love again.
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

New features in Thucydides 0.7.10

New features in Thucydides 0.7.10 | Java 6 EE Testing | Scoop.it
The latest version of Thucydides (0.7.10) to be released has some great new features! Find out more below:

Flag a test as 'pending' or 'ignored' from within a test step/page object
This is usef...
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Managing state between steps

Managing state between steps | Java 6 EE Testing | Scoop.it
Sometimes it's useful to be able to pass information between steps. For example, you might need to check that a client's details that were entered into a registration form appear correctly on a con...
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Alexander Beletsky's Development Blog: New Tools in My TDD Arsenal

Alexander Beletsky's Development Blog: New Tools in My TDD Arsenal | Java 6 EE Testing | Scoop.it

Recently my TDD arsenal has been enhanced with 3 new cool tools, which I'm about to share with you. More precisely it one tool and two frameworks. Let's go for it.

more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Arquillian with NetBeans, WebLogic 12c, JPA and a MySQL Datasource - Java Code Geeks

Arquillian with NetBeans, WebLogic 12c, JPA and a MySQL Datasource - Java Code Geeks | Java 6 EE Testing | Scoop.it

Follow the steps in the getting started part of my first two posts. There are only a few things you have to change to get this working. Obviously you need a WebLogic 12c

more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Simplified FileUpload using Servlet3.0 in JBoss AS7 « JBoss

Simplified FileUpload using Servlet3.0 in JBoss AS7 « JBoss | Java 6 EE Testing | Scoop.it

Uploading files through web applications is one of the most important job of most of the applications. Earlier to servlet3.0 specification we used to do it manually, But now...

more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Why to choose JMeter for performance testing? | Swarm of XeBees

Why to choose JMeter for performance testing? | Swarm of XeBees | Java 6 EE Testing | Scoop.it

During my last project, I was given a task to choose one of the best tools for performance testing among open source tools available in market. After evaluation and little research I came up with JMeter.

more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

TestNG or JUnit - Java Code Geeks

TestNG or JUnit - Java Code Geeks | Java 6 EE Testing | Scoop.it

For many years now, I have always found myself going back to TestNG whenever it comes to doing Unit Testing with Java Code. Everytime, I picked up TestNG, people have asked me why do I go over to TestNG especially with JUnit is provided by the default development environment like Eclipse or Maven.

more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

EasyB, Thucydides and Selenium 2 - another BDD example

Today I'll present you quick example of usage for EasyB - BDD framework for Java :), accompanied by Thucydides - amazing tool for ATDD build on top of Selenium 2.

more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Papo's log: Using Mockito Spy objects to test java objects/classes with inheritance (very simple example)

Papo's log: Using Mockito Spy objects to test java objects/classes with inheritance (very simple example) | Java 6 EE Testing | Scoop.it

I came across today a case where I needed to complete a unit-integration test of some quite complex enterprise Java code. Actually it was JSF backing bean with a specific inheritance chain, wired all together with some EJB's.

more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

JMeter load testing against Apache Webserver: Errors and Resolutions | Javalobby

JMeter load testing against Apache Webserver: Errors and Resolutions | Javalobby | Java 6 EE Testing | Scoop.it
have been working on a fairly simple JMeter load script that I can
run a series of 4 sequential pages against an Apache server, but the
goal was to have...
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Faster Web Tests with Parallel Batches in Thucydides

Web tests are as a rule much slower than other types of tests, but they can be sped up significantly by running them in parallel. However, this is often harder to implement than it sounds. The late...
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

More Time Saved By Unit Tests | Andy Gibson

More Time Saved By Unit Tests | Andy Gibson | Java 6 EE Testing | Scoop.it
So I've been meaning to make a fix in one of my projects for a while, and I haven't touched the code in over a year, so of course I have to go back and really...
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

James Shore: What Does a Good Test Suite Look Like?

James Shore: What Does a Good Test Suite Look Like? | Java 6 EE Testing | Scoop.it

Arlo Belshee posed a question by email last week: "What are the characteristics of a good test suite?" Interesting question. He plans to collate the answers on his blog sometime soon. Meanwhile, here's my answer:

more...
No comment yet.
Rescooped by Papapetrou Patroklos from tdd
Scoop.it!

“The Ugly Duckling” – The changing face of testing

The discipline of testing has metamorphosed significantly over the last decade. This is illustrated as light-hearted tale inspired by Hans Christian Anderson’s tale of “The ugly duckling”.

Click the presentation below to read how Joe the tester evolves from a ugly duckling to a beautiful swan.


Via AM
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Helper Code: Why you need to make your tests fail

Helper Code: Why you need to make your tests fail | Java 6 EE Testing | Scoop.it

Test Driven Development (TDD) have many benefits. For start it’s a design methodology that help avoiding “Analysis paralysis” and make sure that you only have the needed code to solve a problem.

more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Announcing Support For Selenium 2.18.0, Firefox 10.0, Chrome 16.0.912.77 and Opera 11.61 | Selenium Testing? Do Cross Browser Testing with Sauce Labs

Announcing Support For Selenium 2.18.0, Firefox 10.0, Chrome 16.0.912.77 and Opera 11.61 | Selenium Testing? Do Cross Browser Testing with Sauce Labs | Java 6 EE Testing | Scoop.it
As you all know, the Selenium team moves crazy fast and we do our best to keep up.
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Listing All MBeans present inside JBossAS7 programatically « JBoss

Listing All MBeans present inside JBossAS7 programatically « JBoss | Java 6 EE Testing | Scoop.it

In this demonstration we will see ow we can get all the MBeans present inside JBoss AS7 CR1b, because many of the developers want to talk to JBoss using their own mbean based java code...

more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

The evil unit test. | Making Good Software

Unit tests can be evil, I know that sounds harsh, but I think there is a battle to be fight to make people understand that unit tests are not always good, and...
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Arquillian with NetBeans, GlassFish embedded, JPA and a MySQL Datasource - Java Code Geeks

Arquillian with NetBeans, GlassFish embedded, JPA and a MySQL Datasource - Java Code Geeks | Java 6 EE Testing | Scoop.it

This is an, let's call it accidental post. I was looking into transactional CDI observers and playing around with GlassFish embedded to run some integration tests against it. But surprisingly this did not work too well and I am still figuring out, where exactly the problems are while using the plain embedded GlassFish for that.

more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Agile Engineering Techniques: Unit Test Code Coverage With Jacoco

Agile Engineering Techniques: Unit Test Code Coverage With Jacoco | Java 6 EE Testing | Scoop.it

It’s easy to collect unit test code coverage because all of the common tools are geared up for it.
This article will explain how you can add unit test coverage to your Maven application in 10 minutes.
We will use the excellent Jacoco code coverage library to show how easy it is.

more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Schauderhaft » The second D in TDD

Some proponents of TDD say, that TDD forces you to find a good design. Some even translate TDD to Test Driven Design. I don’t agree. Mostly.

Lets start with the small part where I do agree...

more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Agile Engineering Techniques: Test Doubles With Mockito

A common thing I come across is that teams using a mocking framework assume they are mocking.
They are not aware that Mocks are just one of a number of 'Test Doubles' which Gerard Meszaros has categorised at xunitpatterns.com.

more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

A new Thucydides User’s Manual is now online

A new Thucydides User’s Manual is now online | Java 6 EE Testing | Scoop.it
A new and improved version of the Thucydides Documentation is now available online. This new version is a complete reference to writing automated acceptance tests for both web and non-web applicati...
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

6 Ways To Speed up Selenium Tests

Having finally achieved more stable end to end tests via Selenium, we figured it would be worth while sharing how we achieved this. The following are six steps we've found that you can do to make S...
more...
No comment yet.