This link has been bookmarked by 46 people . It was first bookmarked on 12 Nov 2007, by N T.
-
10 Jan 14
-
28 Aug 13
-
17 Oct 11
-
18 May 11
smostafakSrini & Kavitha Penchikala provide an overview of the support provided by Spring framework in the areas of unit and integration testing. I will use a sample loan processing web application to help the readers in implementing an Agile Testing framework in
-
22 Nov 10
-
Testing is an integral part of enterprise software development. It is as important, if not the most important, as any other phase of the Software Development Lifecycle (SDLC). But testing an enterprise application is easier said than done. There are several constraints that make testing effort in a project a major challenge. These constraints usually fall into two categories: framework related constraints and project methodology related constraints.
RelatedVendorContent
Got fires in production? Find root cause in minutes. FREE Java performance tool
5 Steps to Efficiently Manage Defects across Shared Code
Domain-Specific Languages for Functional Testing
Testing Platforms Analyst Comparison: IBM, Microsoft, Coverity, MKS, and more
JBoss versus IBM WebSphere: Cost, Performance, Efficiency, Innovation (IBM wins)
Related Sponsor
Dynamic Application Infrastructure delivers the innovation, performance and scalability to build, deploy and manage all types of highly robust applications.
An example of framework related constraints is that J2EE architecture model does not take into account the aspect of unit testing as part of the software development. Since the container (application server) is the core component of J2EE run-time architecture, it is difficult to test applications built based on J2EE API, outside the container. Unit testing (outside the container) is essential to achieve high test coverage. It's also easy to reproduce many failure scenarios without the overhead of application server setup and code deployment. It is vital to ensure that tests can be run quickly which is important in development or production support phases of the project. The task of verifying code using unit testing minimizes unproductive time spent waiting for the application to be deployed every time we make a code change.
Since the code in a traditional J2EE application depends heavily on the application server, its functionality can be fully tested only when deployed inside a J2EE container. But in-container testing is too slow and too much of an obstacle to developer productivity especially if the project is relatively large and number of code artifacts (java source files) is high.
There are some J2EE frameworks that are built from ground-up to provide excellent support for integrating software testing into the development process. Spring is one of such java enterprise application development frameworks.
Recently, I did some consulting on an enterprise java application my wife worked on for a local Tier-One automotive supplier company. The project was to create a Customer Profile Management System used to track the profiles of their customer companies. The architecture of this application included Hibernate 3.0, Spring 2.0, and JBoss 4.0 technologies. The project team followed an Agile software development approach to deliver the requirements in one-week iterations. They used the integration testing features offered by Spring framework, to test the application code in Data Access and Service layers. We really liked the testing support provided by Spring framework. It simplified testing to a great extent and made the aggressive one-week development iterations possible and manageable.
-
-
19 Oct 10
-
18 Jul 10
-
29 Apr 10
-
02 Mar 10
Niko SchmuckVery good overview, although a bit out of date (Spring 2.0)
spring testing java tdd development junit best-practice sample
-
Hugo ZondaVery good overview, although a bit out of date (Spring 2.0)
spring testing java tdd development junit best-practice sample
-
15 Oct 09
-
23 Apr 09
-
23 Mar 09
-
21 Feb 09
-
18 Dec 08
Carl Christian Tjelleionality as an end-user would use the application when it's deployed in production environment. These tests are usually ru
-
18 Nov 08
-
12 Nov 08
-
03 Sep 08
-
12 Aug 08
-
17 Jul 08
-
14 Jul 08
-
01 Feb 08
-
02 Dec 07
-
29 Nov 07
-
22 Nov 07
Emmanuel HugonnetThis article provides an overview of the support provided by Spring in the areas of unit and integration testing. I will implement an Agile Testing framework and how to use Spring test classes to test the application functionality.
-
21 Nov 07
-
18 Nov 07
-
16 Nov 07
-
14 Nov 07
-
13 Nov 07
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.