 Your new post is loading...
Recently I came across a problem where I had to write tests for a method that calculates randomly distributed values within a certain range of possibilities 1. More precisely if you assume a signature...
Although they seem simple enough on the surface, test outcomes are actually quite complicated beasts. Traditional unit tests, and basic TDD tests, have just two states, passing or failing, represen...
Thucydides Release 0.9.103 adds some useful new features and enhancements. Reports distinguish between errors and failures Test reports now distinguish between test errors and failures. The followi...
Conventional test reports, generated by tools such as JUnit or TestNG, naturally focus on what tests have been executed, and whether they passed or failed. While this is certainly useful from a tes...
I would like to thank Arnaud Heritier who gave me plenty of tips and advices to write this blog. In fact if you want to endorse someone on Maven in LinkedIn, he is the man, not me ;o) If you use Ma...
Sometimes we need to classify the tests in a project and a possible solution to achieve this goal is to assign different categories to the tests.
JUnit is one of the most popular testing frameworks out there. Version 4.11 has just been released and offers some nice improvements that you shouldn’t miss.
In the context of Java EE 6, unit tests are nice but worthless. Unit and integration tests execute chunks of the business logic in a single thread.
When developing any system or software, it is important to test as much of that system as possible. Web frameworks are no exception; comprehensive, well-designed unit tests are critical for long-term success and maintenance. With the introduction of Contexts and Dependency Injection into the Java Enterprise framework (otherwise known as CDI – Weld, or Apache OpenWebBeans,) unit testing is as important as ever, but it would be nice to harness the power of dependency injection for use in unit tests, as well as in the production system!
A new update to Thucydides was just released – Release 0.9.12. This release integrates a popular BDD framework, jBehave, with Thucydides. jBehave Integration jBehave is one of the most widel...
Code coverage is an important measure used during our development that describes the degree to which source code is tested. In this post I am going to explain how to run code coverage using Maven and JaCoCo plugin in multi-module projects.
’m very excited to be working on FEST again! It has been more than a year since my last commit and there is a lot of catch up for me to do. I have put...
|
This post illustrates the possibility of using JUnit Rules to execute a test repeatedly. It is based on a real world example to provide a plausible use case.
In continuation of my earlier blogs on Introduction to Spring MVC and Testing Controller in Spring MVC, in this blog I will demonstrate how to test Web layer...
Thucydides Release 0.9.98 is now out. More granular screenshot capturing Adding on to some recent enhancements to screenshots management, Thucydides now supports a method to give you even finer con...
Example reporting comes to Junit tests Our latest release (0.9.95) brings the example reporting format changes (released last month for jBehave) to parametric junit tests. A few cosmetic changes ha...
In an ideal continuous integration pipeline different levels of testing are involved. Individual software modules are typically validated through unit tests,...
Via syednazirrazik
Have you been struggling with setting up integrations tests for DAOs? We all need to test them, luckily there is a tool helping you to do that and that is Arquillian.
Imagine being able to organize and structure your Arquillian tests as human-readable specifications by example that describe at a high-level how the application should work, then being able to present illustrated documentation generated from a test run that gives all parties an account of the features under development and tracks feature sign-off through automation of the acceptance criteria.
Apache JMeter 2.8 released
In summary : use PageObjects pattern, be fluent, robust and portable and know your new tool !
Thucydides is an open source library designed to make it easier to define, implement and report on automated acceptance criteria. Until now, Thucydides tests have been implemented using JUnit or easyb. However the most recent version of Thucydides, version 0.9.x, now lets you write your acceptance criteria using the popular JBehave framework.
JMeter does not have any inbuilt support for WS-Security or WS-Trust and that made me develop this STS Sampler for JMeter - which could make anyone's life better while load testing an STS.
|