FeaturesPluginsDocs & SupportCommunityPartners

DB Derby Test Specification

Author: Lukasz Grela
Version: 1.0
Last update: Mon Feb 20 13:49:12 CET 2006
Introduction: This test specification guides tester through all test cases of DB Derby Module.

Table of Contents

Test suite: Registering Derby Database

Purpose: Tests that it is possible to register Derby Database
Setup: derby database is required, there are two ways: download from website or install Sun Application Server which contains derby by default

#Test caseDescription
1Setup Derby settings1. Choose Tools > Options from the main window.
2. Click Advanced Options in the Options window.
3. In the left pane of the Options window, expand IDE Configuration > Server and External Tool Settings > Derby Options. Set the Derby location that points to directory where derby is installed
4 Set the folder where your Derby databases are stored in the Database Location property. Click Close.


Test suite: Starting and Stopping Derby server

Purpose: Test starting and stopping Derby Server
Setup: Register Derby Database

#Test caseDescription
1Starting Derby Database1. Choose Tools > Derby Database > Start Derby Server from the main window.
2Stopping Derby Server1. The Derby server must run - Repeat Steep one
2. Choose Tools > Derby Database > Stop Derby Server from the main window.


Test suite: Creating Derby Database

Purpose: Test creating Derby Database and check whether dialog that is using for creating database expose desired functionality.
Setup: Register Derby Database, Run Derby Server

#Test caseDescription
1Create Derby Database1. Choose Tools > Derby Database > Create Derby Database
2. Enter a name for the database, a user name, and a password.
3.The button "OK" should be enable - click on it to create database.
2Connection to database1. Cretate databse - repeat previous testcase
2.Pick Connect item in popup menu on created database node - to connect to database
3.Click on database node - you should be able to expand it and nodes that represent "Tables" "Views" and "Procedures" should be visible
2Check that Dialog exposes desired behaviour1. Choose Tools > Derby Database > Create Derby Database
2. Check that "OK" button is disable when the field "Database name" is empty, and there is a message on bottom "Database name is empty".
3. Check if in case that User Name and/or password are empty the warning message is visible that recommends to enter User name and password.
3Check that additional dialog appears when Database Location is not set1. Choose Tools > Options from the main window.
2. Click Advanced Options in the Options window.
3. In the left pane of the Options window, expand IDE Configuration > Server and External Tool Settings > Derby Options. Remove Database Location
4 Choose Tools > Derby Database > Create Derby Database
5 Check that dialog called "Set Database Location" is appeard - enter database location using browser or manually, click ok
6 Dialog called "Create Derby Database" should appear, check that text field with Database Location contains desired location.



Generated: Mon Feb 20 13:49:12 CET 2006
Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Virtual Box - full virtualizer  Open ESB - The Open Enterprise Service Bus Powered by