Java 6 EE Testing
14.2K views | +0 today
Follow
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!

James Shore: Let's Play TDD #151: Mockito

James Shore: Let's Play TDD #151: Mockito | Java 6 EE Testing | Scoop.it

Let's Play: Test-Driven Development is a live, stream-of-consciousness recording of my successes and slip-ups as I work on a real software project...

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

Some useful new Hamcrest matchers for collections

Hamcrest is a neat little library that lets you write more fluent and readable tests. For example...

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

Selenium Testing Framework Part 3: Putting It All Together | Selenium Testing? Do Cross Browser Testing with Sauce Labs

This is the final post in a 3-part guest blog series by Jason Smiley, a QA Engineer at Gerson Lehrman Group.
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

EasyMock « Suhas's Java Blog

EasyMock « Suhas's Java Blog | Java 6 EE Testing | Scoop.it
The concept of mocking is what added the new phase of Expectations, and since jUnit saw most of it's major development prior to the mocking movement, those features were not incorporated into the core, and a set of tools to ...
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

10 Reasons to Write Unit Tests

I came across this great list of 10 reasons to write unit tests. It’s an old post, but still very good points. Want to get started unit testing?

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

The Object Oriented Life: When to replace Unit Tests with Integration Test

Its been a while I was thinking about integration vs unit testing. Lots of googling, questions in stack overflow and looking in many books. In this post I would like share with you the information I have found and what decision I arrive at this.

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

Selenium Testing Framework Pt 2: Base Classes | Selenium Testing? Do Cross Browser Testing with Sauce Labs

Selenium Testing Framework Pt 2: Base Classes | Selenium Testing? Do Cross Browser Testing with Sauce Labs | Java 6 EE Testing | Scoop.it
This is part 2 in a 3-part guest blog post series by Jason Smiley, a QA Engineer at Gerson Lehrman Group.
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Effective Mockito Part 5 « EclipseSource Blog

Effective Mockito Part 5 « EclipseSource Blog | Java 6 EE Testing | Scoop.it
With this effective Mockito Post I want to share a really simple pattern with you.
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Load testing and performance testing with JMeter: Tutorial

Currently reading Load testing and performance testing with JMeter: Tutorial http://t.co/rkZ6lryC by @michael_d_kelly...
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Thucydides Release 0.4.26 – HTMLUnit support, and using different drivers in the same test case

Thucydides Release 0.4.26 – HTMLUnit support, and using different drivers in the same test case | Java 6 EE Testing | Scoop.it
Thucydides 0.4.26 has just been released. Some of the new features in this release include HTMLUnit support and the ability to specify the browser you want to run tests in at both the test case and...
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Introducing restfuse – a JUnit Extension to test REST APIs « EclipseSource Blog

Introducing restfuse – a JUnit Extension to test REST APIs « EclipseSource Blog | Java 6 EE Testing | Scoop.it
For several projects at EclipseSource we are creating REST APIs. I'm involved in most of them and there is one thing that bothers me with every project.
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Arquillian: Alien technlogy for JavaEE tests

JavaEE Tests with Arquillian on The developers conference 2011,, São Paulo, Brazil...
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Selenium Testing Framework Pt. 1: Testing Concepts | Selenium Testing? Do Cross Browser Testing with Sauce Labs

Selenium Testing Framework Pt. 1: Testing Concepts | Selenium Testing? Do Cross Browser Testing with Sauce Labs | Java 6 EE Testing | Scoop.it
This is part 1 of a 3-part guest blog series by Jason Smiley, QA Engineer at Gerson Lehrman Group.
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

How to write efficient unit tests. 5 principles for unit testing. | Making Good Software

In these last years, since the first unit testing frameworks were made available, and methodologies like TDD have become mainstream, unit testing is turning...
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Stress/Load-Testing of Asynchronous HTTP/REST Services with ...

Stress/Load-Testing of Asynchronous HTTP/REST Services with ... | Java 6 EE Testing | Scoop.it
Although I have been using JMeter for stress- and load-testing of web applications a good few times it took us a while to figure out how to test asynchronous HTTP/REST based services with the tool. With us I mean a.
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Load Testing Made Easy with a Simple JMeter Utility « Intelligrape ...

Load Testing Made Easy with a Simple JMeter Utility. Posted by Vivek Krishna. Load Testing is one of the major aspect which we all do for our applications, especially for those which have publicly available pages and has ...
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Agile in a Flash: Test Abstraction Smells

Agile in a Flash: Test Abstraction Smells | Java 6 EE Testing | Scoop.it

In our article Test Abstraction: Eight Techniques to Improve Your Tests (published by PragPub), we whittled down a convoluted, messy test into a few concise and expressive test methods, using this set of smells as a guide.

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

Stress/Load-Testing Asynchronous REST Services with JMeter | Code Affine

Stress/Load-Testing Asynchronous REST Services with JMeter | Code Affine | Java 6 EE Testing | Scoop.it
This post describes how to use the JavaSamplerClient API of JMeter to extend the tool to be able to test asynchronous HTTP/REST based services.
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Testing a Web Service with SoapUI, JUnit, Maven and Cucumber

Testing a Web Service with SoapUI, JUnit, Maven and Cucumber | Java 6 EE Testing | Scoop.it

An example is perhaps the best way to describe something. Concrete examples are easier to understand then abstract descriptions.

I will show how SoapUI can be used to test a web service. I w...

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

Testing Techniques - Part 1 - Not Writing Tests | Javalobby

Testing Techniques - Part 1 - Not Writing Tests | Javalobby | Java 6 EE Testing | Scoop.it
There’s not much doubt about it, the way you test your code is a
contentious issue. Different test techniques find favour with different
developers for...
more...
No comment yet.
Scooped by Papapetrou Patroklos
Scoop.it!

Papo's log: Mockito...effective testing

Papo's log: Mockito...effective testing | Java 6 EE Testing | Scoop.it

If you ask me,what is your framework of choice when it comes to unit testing, the answer would be Mockito. I have been using it in the last 1.5 year extensively and tried to 'insert' it (sometimes even under the hood) in some projects.

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

FitNessize your JEE dev with minuteproject

FitNessize your JEE dev with minuteproject | Java 6 EE Testing | Scoop.it

This article shows you how-to setup FitNesse in your development environment when dealing with Relation Database CRUD operations.

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

How to access a private Map in JUnit using reflections? - Programmers Goodies

I have a connector class (SVNConnector) which should be junit tested. There is a private map called private Map connec (How to access a private Map in JUnit using reflections?
more...
No comment yet.
Rescooped by Papapetrou Patroklos from agile-development
Scoop.it!

Inverting the Testing Pyramid

Inverting the Testing Pyramid | Java 6 EE Testing | Scoop.it

Maintain a large number of end-to-end tests is quite a nightmare for teams. Following are some core issues with end-to-end tests:

 

- It requires deep domain knowledge and high technical skills to write quality end-to-end tests.

 

- They take a lot of time to execute.

 

- They are relatively resource intensive.

 

- Testing negative paths in end-to-end tests is very difficult (or impossible) compared to lower level tests.

 

- When an end-to-end test fails, we don’t get pin-pointed feedback about what went wrong.

 

- They are more tightly coupled with the environment and have external dependencies, hence fragile. Slight changes to the environment can cause the tests to fail. (false-negative.)

 

 From a refactoring point of view, they don’t give the same comfort feeling to developers as unit tests can give.


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

Testing JSF with Arquillian and Selenium

Testing of web applications is significant part of development cycle from perspective of both, application development and quality assurance.
more...
No comment yet.