Testing plan

 

 

This document contains the test cases of the Nexus program.

 

 

 

1. Notation of a test case

 

 

CASE 1.0

The name of the case

 

 

Precondition:

The status of the program, and what should be done before starting to perform the test case

Description:

  1. Step 1
  2. Step 2
  3. Step 3

Post condition:

The status of the program after the test case

Remarks:

All the things that the tester should notice when performing the test case

 

 

 

2. Test cases

 

 

CASE 1.0 Number of the fractals

Choose the number of the fractals, OK

 

 

Precondition:

Program has been started.

Description:

  1. Open the number of fractals dialog
  2. Choose number of fractals
  3. Press the OK button

Post condition:

New number of the fractals is saved. The panels for the fractals appear to the main window.

Remarks:

Perform tests with different number of fractals.

Use menu item and speed button to open dialog.

           

 

 

CASE 1.1 Number of the fractals

Choose the number of the fractals, Cancel

 

 

Precondition:

Program has been started.

Description:

  1. Open the number of fractals dialog
  2. Choose number of fractals
  3. Press the Cancel button

Post condition:

The number of fractals is not changed

Remarks:

 

 

 

 

CASE 1.2 Fractal properties dialog

Change the fractal properties, incorrect values

 

 

Precondition:

Program has been started.

Description:

  1. Open the fractal properties dialog
  2. Fill incorrect values to the edit boxes

Post condition:

Default values is put to the edit boxes after other component is focused

Remarks:

Test with all edit boxes on the dialog

Use menu item and speed button to open dialog.

 

 

 

CASE 1.3 Fractal properties dialog

Change the fractal properties, OK

 

 

Precondition:

Program has been started.

Description:

  1. Open the fractal properties dialog
  2. Fill in the dialog with correct values
  3. Press the OK button

Post condition:

New values are saved

Remarks:

 

 

 

 

CASE 1.4 Fractal properties dialog

Change the fractal properties, Cancel

 

 

Precondition:

Program has been started.

Description:

  1. Open the fractal properties dialog
  2. Fill in the dialog with correct values
  3. Press the Cancel button

Post condition:

New values aren’t saved

Remarks:

 

 

 

 

CASE 1.5 Computers dialog

Choose computers, OK

 

 

Precondition:

Program has been started.

The number of the fractals has been chosen.

Description:

  1. Open the computers dialog
  2. Choose computers for each fractal
  3. Press the OK button

Post condition:

Computers for the fractals are saved

Remarks:

Use menu item and speed button to open dialog.

Try to add and remove computers to and from the chosen machines list. Choose calculate on this computer at least for one fractal.

 

 


 

CASE 1.6 Computers dialog

Choose computers, Cancel

 

 

Precondition:

Program has been started.

The number of the fractals has been chosen.

Description:

  1. Open the computers dialog
  2. Choose computers for each fractal
  3. Press the Cancel button

Post condition:

Computers for the fractals aren’t saved

Remarks:

 

 

 

 

CASE 2.0 Start calculation

Start calculation, settings OK

 

 

Precondition:

Program has been started.

The number of the fractals has been chosen. Computers and fractal properties has been selected.

Description:

  1. Press the speed button start or select the start item from the main menu

Post condition:

Fractals are calculated and drawn to the panels

Remarks:

 

 

 

 

CASE 2.1 Start calculation

Start calculation, no computers selected

 

 

Precondition:

Program has been started.

The number of the fractals has been chosen.

Description:

  1. Press the speed button start or select the start item from the main menu

Post condition:

Nothing happens because the button and the menu item are disabled.

Remarks:

 

 

 

 

CASE 3.0 Calculation

Calculate on local host

 

 

Precondition:

Program has been started.

Description:

  1. Choose one fractal
  2. Set properties
  3. Choose calculate on this computer
  4. Start calculation

Post condition:

Fractal is calculated and drawn to the panel

Remarks:

Perform tests with different properties, especially with different Size x and Size y

 


 

 

CASE 3.1 Calculation

Calculate on one Linux

 

 

Precondition:

Program has been started.

Description:

  1. Choose one fractal
  2. Set properties
  3. Choose one computer from the list
  4. Start calculation

Post condition:

Fractal is calculated and drawn to the panel

Remarks:

Perform tests with different properties, especially with different Size x and Size y

 

 

 

CASE 3.2 Calculation

Calculate one fractal on more than one computer

 

 

Precondition:

Program has been started.

Description:

  1. Choose one fractal
  2. Set properties
  3. Choose more than one computers from the list
  4. Start calculation

Post condition:

Fractal is calculated and drawn to the panel

Remarks:

Perform tests with different properties, especially with different Size x and Size y

 

 

 

CASE 3.3 Calculation

Calculate more than one fractal

 

 

Precondition:

Program has been started.

Description:

  1. Choose more than one fractal
  2. Set properties
  3. Choose computers
  4. Start calculation

Post condition:

Fractal is calculated and drawn to the panel

Remarks:

Perform tests with different combinations of computers and fractals and with different properties, especially with different Size x and Size y

 

 

 

CASE 4.0 Sniffer

Opening the sniffer window

 

 

Precondition:

Calculation has been finished

Description:

1. Press the speed button sniffer

Post condition:

Empty chart and calculation times are shown.

Remarks:

 

 

 

 

CASE 4.1 Sniffer

Opening the sniffer window

 

 

Precondition:

Calculation has been started, but not finished

Description:

1. Try to open the sniffer window

Post condition:

The sniffer window can’t be opened because the speed button sniffer is disabled

Remarks:

 

 

 

 

CASE 4.2 Sniffer

Viewing measurements, OK

 

 

Precondition:

Calculation has been finished

The sniffer window has been opened

Description:

1.Choose different source and destination computers

Post condition:

The measurement is shown on chart.

Remarks:

Concentrate on time axis.

Check Bandwidth and Latency tabs

 

 

 

CASE 4.3 Sniffer

Viewing measurements, same computers

 

 

Precondition:

Calculation has been finished

The sniffer window has been opened

Description:

1.Choose the same source and destination computers 

Post condition:

No measurement is shown, but an error message is given.

Remarks:

 

 

 

 

CASE 1.0 Sniffer

Viewing measurements, no computers selected

 

 

Precondition:

Calculation has been performed only with local computer or each fractal has been calculated only with one computer and UI is running on Windows

The sniffer window has been opened.

Description:

  1. Press the view results button

Post condition:

No measurement is shown, but an error message is given.

Remarks: