Geek Articles

Categories

 

Subscribe

Daily Updates Subscribe geekarticles update via email Subscribe geekarticles update via RSS

 
GeekArticles Testing Database Testing

Testing J2EE database applications

Author: oracle.com | Published: 19th Aug 2005 | Visited: 1976 times | Add Comment
Filed in: Database Testing

Best practices for testing J2EE database applications It wasn't too long ago that quality assurance (QA) teams played the leading (if not the only) role when it came to software testing. These days, however, developers are making an enormous contribution to software quality early in the development process, using automated unit-testing techniques. Most developers take for granted the need to use tools such as JUnit for comprehensive, automated testing, but there is little consensus on how to apply unit testing to the database operations associated with an application. This article delineates best practices that can help you get the most out of your database testing environment and can ensure that your applications are robust and resilient. The primary focus of the article is on J2EE applications interfacing with Oracle Database through JDBC or Oracle TopLink, although the concepts also apply to applications written for other application environments, such as .NET. The scope of the article is restricted to functional testing and does not encompass performance or load testing.

Read Article
 

Sponsored Links

 


Related Articles

 Swing Extreme Testing Book Review Swing Extreme Testing Book Review Swing used to be a simple component offered as an add-on for Java. This plug-in can be used as a GUI (graphical user interface) to develop as an add-on for the Java application. It has the ability to emulate certain platforms eventually building a powerful applicat ...

 Swing Extreme Testing Swing Extreme Testing by Tim Lavers, Lindsay Peters This book is a practical guide to automated software testing for extreme Java programming using Swing GUIs, with lots of ready-to-use real-life examples and source code for automated testing of the software components usually regarded as too hard ...

 Swing Extreme Testing - Outline of the Unit Test Outline of the Unit Test The things we want to test are: Initial settings: The text field is empty. The text field is a sensible size. The Ok button is disabled. The Cancel button is enabled. The dialog is a sensible size. ...

 Swing Extreme Testing - Unit Test Infrastructure Unit Test Infrastructure Having seen the broad outline of the test class and the UI methods needed, we can look closely at the implementation of the test. start with the UI Wrapper class and the init() and cleanup()method ...

 Swing Extreme Testing - The ShowerThread Class The ShowerThread Class Since SaveAsDialog.show() blocks, we cannot call this from our main thread; instead we spawn a new thread. This thread could just be an anonymous inner class in the init()metho ...

 Swing Extreme Testing - The Constructor Test The Constructor Test A freshly constructed SaveAsDialog should be in a known state, and we need to check the things we listed at the start of this chapte ...

 Swing Extreme Testing - The wasCancelled() Test The wasCancelled() Test The first of our API tests is to check the wasCancelled() method. We will basically do three investigations. The first test will call wasCancelled()before the dialog has been cancelled. The second test will cancel the dialog and then call the method. In the third test we wil ...

 Swing Extreme Testing - The Data Validation Test The Data Validation Test The Ok button of the SaveAsDialog should only be enabled if the name that has been entered is valid. A name can be invalid if it contains an illegal character, or if it has already been use ...

 Testing Multithreaded Java Code  In this interview from JavaOne 2008, Coverity chief scientist Andy Chou discusses why traditional unit tests often help in uncovering concurrency-related errors, and why a combination of static and dynamic analysis yields better results when testing multithreaded code. ...

 Reducing Code Size of Ajax Applications Building an Ajax based applications is mostly difficult due to the fact that codes are usually rendered longer. Because different web developments are used in building an Ajax based applications, developers have to combine these codes so that they can achieve the asynchronous function of Ajax. If th ...



Next: Deductive Database System



Post Comment

Name:


Email:
 (Optional. Used for Notification)

Title:

 
Comment:


Validation Code:
 <=>  (Enter this code in text box)





Latest Articles

 

Popular Articles

Sponsored Links