TestCafé: Web Testing Framework | DevExpress Test Anything, Anywhere With TestCafé, you can run tests in any browser that supports HTML5 (including IE9+, Chrome, Firefox, Safari, Opera). TestCafé is operating system agnostic so you can run tests on Windows, Mac or Linux machines. Run tests on remote computers and mobile devices. Run tests in multiple browsers and on multiple machines in parallel.
Sam Brannen Swiftmind Rossen Stoyanchev VMware @sam_brannen Testing Web Applications with Spring Framework 3.2
Spring MVC comes with a very useful test framework, which allows doing in-depth testing without even starting a web container. If you struggle maintaining any application based on Spring MVC, this post will show you the basics of the Spring MVC test framework. What am I testing? We can distinguish 3 levels of testing for Spring MVC controllers: Introducing Spring MVC test framework
The Future of Web MVC Testing We Recommend These Resources Ok, ok, I'm excited. Right now I just was able to hack my way through a test with Spring 3.2 and the web context.
Does Spring MVC Spring 3.2 test the web.xml configuration Explore our sites Stack Exchange sign up log in tour help careers 2.0
» Maven + JUnit + ClassFormatError: Absent Code attribute in method that is not native or abstract in class file dominikdorn.com 11May 2010 Once in a while one stumbles upon an error message like this java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/mail/Session
Spring Framework 3.2 RC1: New Testing Features As Juergen Hoeller mentioned in his post announcing the release of Spring Framework 3.2 RC1, the Spring Team has introduced some exciting new features in terms of testing support. Most importantly, we've added first-class support for testing web applications.  Please note: this is a cross post from my Swiftmind company blog. In this post we'll first take a look at some of the general new testing features in the Spring Framework, and then we'll go into detail regarding support for testing with a WebApplicationContext as well as request and session scoped beans. We'll close with a look at support for ApplicationContextInitializers and a brief discussion of the road map for testing with application context hierarchies. Rossen Stoyanchev will later follow up with a detailed post on the new Spring MVC Test framework that provides first-class support for testing Spring MVC applications.
Last week Juergen Hoeller announced the release of Spring Framework 3.2 RC1 and Sam Brannen discussed exciting additions in its spring-test module such as support for WebApplicationContext's and upcoming plans for loading a hierarchy of contexts. Today I will continue this subject and describe another exciting spring-test addition. In 3.2 RC1 we've added first class support for testing Spring MVC applications both client-side and server-side. Spring Framework 3.2 RC1: Spring MVC Test Framework
assertEquals uses the equals method for comparison. There is a different assert, assertSame, which uses the == operator. To understand why == shouldn't be used with strings you need to understand what == does: it does an identity check. That is, a == b checks to see if a and b are the same object. It is built into the language, and its behavior cannot be changed by different classes. Java: Is assertEquals(String, String) reliable
java - AssertContains on strings in jUnit Explore our sites Stack Exchange sign up log in tour help careers 2.0
Using HSQLDB to unit test database access code | Shopzilla Tech Blog Writing unit tests for code that accesses the database is a recurring challenge for Java developers. This post will describe a technique we’ve used successfully on a number of database-intensive projects: using HSQLDB as an in-memory database so that the database access code can be thoroughly tested without dependencies on external resources. First a description of our environment: our production databases are Oracle. Our code is primarily used in web services running in Tomcat 6, but occasionally used in command-line applications as well.
Here's a good interview question for a tester: how do you define performance/load/stress testing? Many times people use these terms interchangeably, but they have in fact quite different meanings. This post is a quick review of these concepts, based on my own experience, but also using definitions from testing literature -- in particular: "Testing computer software" by Kaner et al, "Software testing techniques" by Loveland et al, and "Testing applications on the Web" by Nguyen et al. Update July 7th, 2005 Performance vs. load vs. stress testing
Integration testing Purpose The purpose of integration testing is to verify functional, performance, and reliability requirements placed on major design items. These "design items", i.e. assemblages (or groups of units), are exercised through their interfaces using black box testing, success and error cases being simulated via appropriate parameter and data inputs. Simulated usage of shared data areas and inter-process communication is tested and individual subsystems are exercised through their input interface. Test cases are constructed to test whether all the components within assemblages interact correctly, for example across procedure calls or process activations, and this is done after testing individual modules, i.e. unit testing. The overall idea is a "building block" approach, in which verified assemblages are added to a verified base which is then used to support the integration testing of further assemblages.
Selenium Test Automation with Maven Today i want to help you manage your Automated GUI Tests (Selenium) better. In the past i have seen many different ways people handle this. Some people just write those plain HTML TestCases with Selenium-IDE, store it somewhere on the HDD and run manually when needed.
Selenium Maven Plugin - Introduction Provides support for using Selenium with Maven 2. Use this plugin to start a Selenium Remote Control server to support automated web-application testing. This plugin is intended to support usage of the Selenium Java Client Driver when running regular Surefire tests. Use Selenium IDE to help generate the initial Java code for the tests, and then augment as needed. Usage Instructions on how to use the Selenium Maven Plugin can be found on the usage page.
Automated Web Testing with Selenium IDE
Effective out-of-container Integration Testing - 4Developers
Integration testing your Spring 3 & JPA 2.0 application
Integration testing with Spring and Jetty | coding and stuff
JBoss Java EE Spec Artifact
UsesOfHamcrest - hamcrest - How people are using Hamcrest matchers - Hamcrest - library of matchers for building test expressions
On the subtle uses of Hamcrest tests
JUnit 4 Showcase – assertThat and Hamcrest Matchers | Software dev ramblings
Tips and tricks · Fest-assert-2.x Wiki
Writing Your First Unit Test
Writing good unit tests, Part 1: Follow your GUTs
Three rules for writing good unit tests
Unit Testing Best Practices
What your tests don't need to know will hurt you - The Code Whisperer
The Code Sheriff
You Shall Not Test Methods | Tomek's blog
Embrace Unit Testing